From 6eca294764313c0af916bb0d44fbb2ef2029101e Mon Sep 17 00:00:00 2001 From: rra Date: Wed, 19 Jun 2019 14:33:47 +0200 Subject: [PATCH] add old pelican conf --- pelicanconf.py | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-) diff --git a/pelicanconf.py b/pelicanconf.py index d475a47..8ba9c41 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -2,9 +2,10 @@ # -*- coding: utf-8 -*- # from __future__ import unicode_literals -AUTHOR = 'homebrewserver.club' + +AUTHOR = 'hbsc & friends' SITENAME = 'homebrewserver.club' -SITEURL = '' +SITEURL = 'https://homebrewserver.club' PATH = 'content' @@ -12,20 +13,42 @@ 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 = False +DEFAULT_PAGINATION = 10 THEME = 'themes/homebrewtheme' -STATIC_PATHS = ( - 'images', - 'downloads', - 'extra', -) +#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