2019-03-23 22:29:32 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = u'Unit'
|
|
|
|
SITENAME = u'unit'
|
|
|
|
# SITEURL = 'https://unit.abbiamoundominio.org'
|
|
|
|
SITEURL = ''
|
2019-03-25 16:41:57 +01:00
|
|
|
SITELOGO = '/images/logo.png'
|
2019-03-23 22:29:32 +01:00
|
|
|
# SITESUBTITLE = ''
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
PAGE_PATHS = ['pages']
|
|
|
|
ARTICLE_PATHS = ['blog']
|
|
|
|
STATIC_PATHS = ['images', 'media']
|
|
|
|
|
|
|
|
TIMEZONE = 'Europe/Rome'
|
|
|
|
|
|
|
|
DEFAULT_LANG = u'it'
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 3
|
|
|
|
DEFAULT_DATE = 'fs'
|
|
|
|
DEFAULT_DATE_FORMAT = '%d %B %Y'
|
|
|
|
|
|
|
|
RSS_FEED_SUMMARY_ONLY = True
|
|
|
|
|
|
|
|
# Feed generation is usually not desired when developing
|
|
|
|
FEED_ALL_ATOM = None
|
|
|
|
FEED_ALL_RSS = None
|
|
|
|
CATEGORY_FEED_ATOM = None
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
2019-04-26 13:17:34 +02:00
|
|
|
PLUGIN_PATHS = ['plugins/']
|
|
|
|
PLUGINS = ['events']
|
|
|
|
|
|
|
|
PLUGIN_EVENTS = {
|
|
|
|
'ics_fname': 'calendar.ics',
|
|
|
|
}
|
|
|
|
|
2019-03-23 22:29:32 +01:00
|
|
|
LINKS = None
|
|
|
|
SOCIAL = None
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
|
|
|
|
DEFAULT_METADATA = {'unit hacklab': 'This is a Game Planet'}
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
# RELATIVE_URLS = True
|
|
|
|
|
|
|
|
MARKDOWN = {
|
|
|
|
'extension_configs': {
|
|
|
|
'markdown.extensions.codehilite': {'css_class': 'highlight'},
|
|
|
|
'markdown.extensions.extra': {},
|
|
|
|
'markdown.extensions.meta': {},
|
|
|
|
},
|
|
|
|
'output_format': 'html5',
|
|
|
|
}
|
|
|
|
|
|
|
|
WITH_FUTURE_DATES = False
|
|
|
|
|
2019-04-16 17:12:01 +02:00
|
|
|
THEME = 'themes/minimunit'
|
2019-03-23 22:29:32 +01:00
|
|
|
|
2019-04-30 10:06:28 +02:00
|
|
|
SLUGIFY_SOURCE = 'title'
|
2019-03-25 16:41:57 +01:00
|
|
|
PAGE_URL = '{slug}/index.html'
|
|
|
|
PAGE_SAVE_AS = '{slug}/index.html'
|
2019-04-29 20:58:07 +02:00
|
|
|
ARTICLE_URL = 'blog/{slug}.html'
|
|
|
|
ARTICLE_SAVE_AS = 'blog/{slug}.html'
|
2019-03-23 22:29:32 +01:00
|
|
|
|
|
|
|
|
|
|
|
INDEX_SAVE_AS = 'articles.html'
|
|
|
|
|
|
|
|
USE_FOLDER_AS_CATEGORY = True
|
|
|
|
DISPLAY_PAGES_ON_MENU = False
|
|
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
|
|
|
2019-11-20 02:55:34 +01:00
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
2019-03-25 16:41:57 +01:00
|
|
|
|
|
|
|
MENUITEMS = (('HOME |', '/index.html'),
|
|
|
|
('NEWS |', '/articles.html'),
|
|
|
|
('CATEGORIE |', '/categories.html'),
|
|
|
|
('TAG |', '/tags.html'),
|
|
|
|
('CONTATTI |', '/contatti'),
|
2019-03-27 16:54:04 +01:00
|
|
|
('RSS', '/feed.xml'),)
|