60 lines
1.6 KiB
Python
60 lines
1.6 KiB
Python
|
|
AUTHOR = 'Kiritan Flux'
|
||
|
|
SITENAME = 'Kiritan Flux'
|
||
|
|
SITESUBTITLE = 'flux.vision'
|
||
|
|
SITEURL = ''
|
||
|
|
PATH = 'content'
|
||
|
|
TIMEZONE = 'Europe/Berlin'
|
||
|
|
DEFAULT_LANG = 'en'
|
||
|
|
|
||
|
|
THEME = 'flux'
|
||
|
|
PLUGIN_PATHS = ['plugins', '../tobias.raayoni-last.com/plugins']
|
||
|
|
PLUGINS = ['assetcheck', 'tileweight', 'lostimages']
|
||
|
|
|
||
|
|
ARTICLE_PATHS = ['']
|
||
|
|
ARTICLE_EXCLUDES = ['pages', 'library', 'images', 'recover']
|
||
|
|
PAGE_PATHS = ['pages']
|
||
|
|
STATIC_PATHS = ['library', 'images']
|
||
|
|
|
||
|
|
# Reproduces the original site's URLs exactly, so archived and inbound links
|
||
|
|
# resolve again rather than 404ing. The scheme is known from the Wayback CDX
|
||
|
|
# inventory: flat article slugs, /section/, /tag/, /info/.
|
||
|
|
ARTICLE_URL = '{slug}.html'
|
||
|
|
ARTICLE_SAVE_AS = '{slug}.html'
|
||
|
|
PAGE_URL = 'info/{slug}.html'
|
||
|
|
PAGE_SAVE_AS = 'info/{slug}.html'
|
||
|
|
CATEGORY_URL = 'section/{slug}.html'
|
||
|
|
CATEGORY_SAVE_AS = 'section/{slug}.html'
|
||
|
|
CATEGORIES_SAVE_AS = 'sections.html'
|
||
|
|
TAG_URL = 'tag/{slug}.html'
|
||
|
|
TAG_SAVE_AS = 'tag/{slug}.html'
|
||
|
|
TAGS_SAVE_AS = 'tags.html'
|
||
|
|
ARCHIVES_SAVE_AS = '' # the index is the timeline
|
||
|
|
AUTHOR_SAVE_AS = ''
|
||
|
|
AUTHORS_SAVE_AS = ''
|
||
|
|
|
||
|
|
# The blog is writing, not work: it stays out of the timeline and the section
|
||
|
|
# grid, and has its own place in the menu.
|
||
|
|
WORK_EXCLUDE = ['blog']
|
||
|
|
|
||
|
|
SUMMARY_MAX_LENGTH = 24
|
||
|
|
DEFAULT_PAGINATION = False
|
||
|
|
DEFAULT_DATE_FORMAT = '%b %Y' # the tiles showed "Dec 2013"
|
||
|
|
|
||
|
|
|
||
|
|
MARKDOWN = {
|
||
|
|
'extension_configs': {
|
||
|
|
'markdown.extensions.tables': {},
|
||
|
|
'markdown.extensions.footnotes': {},
|
||
|
|
},
|
||
|
|
'output_format': 'html5',
|
||
|
|
}
|
||
|
|
|
||
|
|
FEED_ALL_ATOM = None
|
||
|
|
CATEGORY_FEED_ATOM = None
|
||
|
|
TRANSLATION_FEED_ATOM = None
|
||
|
|
AUTHOR_FEED_ATOM = None
|
||
|
|
AUTHOR_FEED_RSS = None
|
||
|
|
|
||
|
|
DELETE_OUTPUT_DIRECTORY = True
|
||
|
|
CACHE_CONTENT = False
|