#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Gruppo Linux Como'
SITENAME = 'GL-Como'
SITESUBTITLE = 'Figli orgogliosi del pinguino ;-)'
SITEURL = ''
THEME='themes/glcomo'
PATH = 'content'
OUTPUT = 'output'
PAGE_PATHS = ['pages']
STATIC_PATHS = ['images', 'static']
TIMEZONE = 'Europe/Rome'
DEFAULT_LANG = 'it'
DEFAULT_CATEGORY = 'uncategorized'
DISPLAY_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
ARTICLE_URL = '{slug}/'
ARTICLE_SAVE_AS = '{slug}/index.html'
PAGE_URL = '{slug}/'
PAGE_SAVE_AS = '{slug}/index.html'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
# Blogroll
LINKS = (
("Alex's Sketching Blog","http://lunarsat.altervista.org/art/"),
("Dam's blog","http://dventurin.wordpress.com/"),
("Divilinux Lost Blog","http://divilinux.netsons.org/"),
("FlaPer87","http://www.flaper87.org"),
("genio_del_male","http://genio-del-male.livejournal.com/"),
("Hackzine","http://www.hackzine.org/"),
("Handicap, subacquea ed altro…","http://handicapesubacquea.wordpress.com/"),
("Internet Archive","http://archive.org/"),
("Lunarsat Photoblog","http://lunarsat.altervista.org/"),
)
# Social widget
SOCIAL = (
('Seguici su Friendica', 'http://social.gl-como.it/~gl-como'),
# ('Segui @glcomo su identi.ca', 'http://identi.ca/glcomo'),
('Feed Atom', SITEURL+'/feeds/all.atom.xml'),
('Opencast Alpha', SITEURL+'/feeds/opencast.atom.xml'),
# ('I repository del GL-Como', 'http://gl-como.it/gitweb/gitweb.cgi'),
)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
#
MARKDOWN = {
'extension_configs': {
'markdown.extensions.fenced_code':{},
'markdown.extensions.codehilite': {
'css_class':'highlight',
'linenums':False,
},
'markdown.extensions.extra':{},
'plugins.markdown-caption.captions':{},
},
'output_format': 'html5',
}
# plugins
PLUGINS = ['plugins.thumbnailer', 'plugins.gallery']
# plugins.thumbnailer
IMAGE_PATH = "images"
THUMBNAIL_DIR = "images/thumbs"
THUMBNAIL_SIZES = { '150x150': '150x150', }
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_KEEP_TREE = True