Browse Source

add old pelican conf

pull/1/head
rra 5 years ago
parent
commit
6eca294764
  1. 39
      pelicanconf.py

39
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

Loading…
Cancel
Save