94 lines
2.1 KiB
Python
94 lines
2.1 KiB
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
import os
|
|
|
|
AUTHOR = 'lost'
|
|
SITENAME = 'LOST'
|
|
SITEURL = ''
|
|
|
|
# TTT
|
|
BANNER= 'images/Logo500.png'
|
|
BANNER_SUBTITLE = ''
|
|
#SITELOGO = 'images/Logo500.png'
|
|
#SITELOGO_SIZE = 300
|
|
I18N_TEMPLATES_LANG = 'it'
|
|
CC_LICENSE="CC-BY"
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
DISPLAY_PAGES_ON_MENU = False
|
|
|
|
MENUITEMS = (
|
|
('Notizie', '/category/news.html'),
|
|
('Eventi', '/category/eventi.html'),
|
|
('Doc', '/category/documenti.html'),
|
|
('RFC', '/pages/rfc.html'),
|
|
('Podcast', '/tag/podcast.html'),
|
|
('Materiali', '/tag/materiali.html'),
|
|
('Contatti', '/pages/contatti.html'),
|
|
)
|
|
|
|
MARKDOWN = {
|
|
'extension_configs': {
|
|
'markdown.extensions.tables':{},
|
|
}
|
|
}
|
|
DIRECT_TEMPLATES = ('index', 'categories', 'authors', 'archives', 'search')
|
|
|
|
|
|
PIWIK_URL = 'piwik.trecappelli.it'
|
|
PIWIK_SITE_ID = '12'
|
|
|
|
SUMMARY_MAX_LENGTH = 500
|
|
|
|
FAVORITES_TAG = 'top'
|
|
# TTT
|
|
PATH = 'content'
|
|
ARTICLE_PATHS = ['blog']
|
|
ARTICLE_SAVE_AS = '{date:%Y}/{slug}.html'
|
|
ARTICLE_URL = '{date:%Y}/{slug}.html'
|
|
|
|
TIMEZONE = 'Europe/Paris'
|
|
|
|
DEFAULT_LANG = u'it'
|
|
|
|
# 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
|
|
|
|
FEED_MAX_ITEMS = 9
|
|
RSS_FEED_SUMMARY_ONLY = True
|
|
|
|
# Blogroll
|
|
LINKS = (('UNIT HKLab', 'https://unit.abbiamoundominio.org/'),
|
|
('APM', 'http://www.inventati.org/apm'),
|
|
('Vecchio sito', 'http://lost.abbiamoundominio.org/wp'),)
|
|
|
|
# Social widget
|
|
#SOCIAL = (('You can add links in your config file', '#'),
|
|
# ('Another social link', '#'),)
|
|
|
|
DEFAULT_PAGINATION = 10
|
|
|
|
STATIC_PATHS = ['images', 'media', 'pdfs']
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
#RELATIVE_URLS = True
|
|
|
|
PLUGIN_PATHS = ['pelican-plugins']
|
|
PLUGINS = ['liquid_tags.audio',
|
|
'liquid_tags.img',
|
|
'liquid_tags.youtube',
|
|
'i18n_subsites',
|
|
'simple_footnotes',
|
|
'tipue_search',
|
|
'linker.mailto']
|
|
|
|
JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
|
|
# Theme
|
|
THEME = "pelican-themes/pelican-bootstrap3bis"
|
|
|
|
|