add old pelican conf

This commit is contained in:
rra 2019-06-19 14:33:47 +02:00
parent 81ffb58ed3
commit 6eca294764

View File

@ -2,9 +2,10 @@
# -*- coding: utf-8 -*- # # -*- coding: utf-8 -*- #
from __future__ import unicode_literals from __future__ import unicode_literals
AUTHOR = 'homebrewserver.club'
AUTHOR = 'hbsc & friends'
SITENAME = 'homebrewserver.club' SITENAME = 'homebrewserver.club'
SITEURL = '' SITEURL = 'https://homebrewserver.club'
PATH = 'content' PATH = 'content'
@ -12,20 +13,42 @@ TIMEZONE = 'Europe/Amsterdam'
DEFAULT_LANG = 'en' DEFAULT_LANG = 'en'
#FEED_ALL_ATOM = 'feeds/all.atom.xml'
#FEED_ALL_RSS = 'feeds/all.rss.xml'
FEED_ALL_ATOM = None FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = False DEFAULT_PAGINATION = 10
THEME = 'themes/homebrewtheme' THEME = 'themes/homebrewtheme'
STATIC_PATHS = ( #Set static output paths
'images', STATIC_PATHS = ['downloads', 'images', 'extra']
'downloads',
'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 DISPLAY_CATEGORIES_ON_MENU = True
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True