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
|
|
|
|
|
|
|
|
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-03-25 16:41:57 +01:00
|
|
|
PAGE_URL = '{slug}/index.html'
|
|
|
|
PAGE_SAVE_AS = '{slug}/index.html'
|
2019-03-23 22:29:32 +01:00
|
|
|
ARTICLE_URL = 'blog/{date:%Y-%m-%d}-{slug}.html'
|
|
|
|
ARTICLE_SAVE_AS = 'blog/{date:%Y-%m-%d}-{slug}.html'
|
|
|
|
|
|
|
|
|
|
|
|
INDEX_SAVE_AS = 'articles.html'
|
|
|
|
|
|
|
|
USE_FOLDER_AS_CATEGORY = True
|
|
|
|
DISPLAY_PAGES_ON_MENU = False
|
|
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
|
|
|
2019-03-25 16:41:57 +01:00
|
|
|
DELETE_OUTPUT_DIRECTORY = True
|
|
|
|
|
|
|
|
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'),)
|