the website for homebrewserver.club pelican repo / theme and blog posts
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

57 lines
1.4 KiB

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'hbsc'
SITENAME = u'HOMEBREWSERVER.CLUB'
SITEURL = 'https://homebrewserver.club'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = False
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
PLUGIN_PATHS = ['./plugins']
PLUGINS = ['extract_toc', 'summary'] # ,'pelican-open_graph'] #<-- cant get that one to work
MARKDOWN = {'extensions':
['markdown.extensions.codehilite',
'markdown.extensions.extra',
'markdown.extensions.smarty',
'markdown.extensions.toc'],
'extension_configs':
{'markdown.extensions.toc':{
'title':'Table Of Contents'}
}
}
PATH = '../raw'
OUTPUT_PATH = '/var/www/html/'
STATIC_PATHS = ['extra', 'fonts','images', 'pdfs', 'downloads']
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/htaccess': {'path': '.htaccess'}
}
DISPLAY_PAGES_ON_MENU = False
DISPLAY_CATEGORIES_ON_MENU = False
MENUITEMS=(
('ABOUT', '/pages/about.html'),
('TOPICS', '/categories.html'),
('LINKS', '/pages/links.html')
)
THEME = 'themes/homebrewserver.club'
RELATIVE_URLS = True