|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
|
|
|
|
AUTHOR = 'hbsc & friends'
|
|
|
|
SITENAME = 'homebrewserver.club'
|
|
|
|
SITEURL = 'https://homebrewserver.club'
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
|
|
|
|
TIMEZONE = 'Europe/Amsterdam'
|
|
|
|
|
|
|
|
DEFAULT_LANG = 'en'
|
|
|
|
|
|
|
|
#FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
|
|
|
#FEED_ALL_RSS = 'feeds/all.rss.xml'
|
|
|
|
FEED_ALL_ATOM = None
|
|
|
|
CATEGORY_FEED_ATOM = None
|
|
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_ATOM = None
|
|
|
|
AUTHOR_FEED_RSS = None
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 10
|
|
|
|
|
|
|
|
THEME = 'themes/homebrewtheme'
|
|
|
|
|
|
|
|
#Set static output paths
|
|
|
|
STATIC_PATHS = ['downloads', 'images', 'extra']
|
|
|
|
|
|
|
|
EXTRA_PATH_METADATA = {
|
|
|
|
'extra/robots.txt': {'path': 'robots.txt'},
|
|
|
|
'extra/favicon.ico': {'path': 'favicon.ico'},
|
|
|
|
'extra/htaccess': {'path': '.htaccess'}
|
|
|
|
}
|
|
|
|
|
|
|
|
#Pelican Plugins & Markdown extensions
|
|
|
|
#PLUGIN_PATHS = ['plugins']
|
|
|
|
#PLUGINS = ['extract_toc', 'summary','representative_image','addressable_paragraphs']
|
|
|
|
MARKDOWN = {'extensions':
|
|
|
|
['markdown.extensions.codehilite',
|
|
|
|
'markdown.extensions.extra',
|
|
|
|
'markdown.extensions.smarty',
|
|
|
|
'markdown.extensions.toc'],
|
|
|
|
'extension_configs':
|
|
|
|
{'markdown.extensions.toc':{
|
|
|
|
'title':'Table Of Contents'}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
DISPLAY_CATEGORIES_ON_MENU = True
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
#RELATIVE_URLS = True
|