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.
59 lines
1.6 KiB
59 lines
1.6 KiB
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = u'hbsc'
|
|
SITENAME = u'homebrewserver.club'
|
|
SITEURL = ''
|
|
|
|
|
|
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
|
|
|
|
# Blogroll
|
|
#LINKS = (('Pelican', 'http://getpelican.com/'),
|
|
# ('Python.org', 'http://python.org/'),
|
|
# ('Jinja2', 'http://jinja.pocoo.org/'),
|
|
# ('You can modify those links in your config file', '#'),)
|
|
|
|
# Social widget
|
|
#SOCIAL = (('You can add links in your config file', '#'),
|
|
# ('Another social link', '#'),)
|
|
|
|
DEFAULT_PAGINATION = False
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
#RELATIVE_URLS = True
|
|
|
|
PLUGIN_PATHS = ['./plugins']
|
|
PLUGINS = ['extract_toc','better_figures_and_images', 'summary', 'simple_footnotes'] # ,'pelican-open_graph'] #<-- cant get that one to work
|
|
MD_EXTENSIONS = ['codehilite', 'extra', 'smarty', 'toc']
|
|
|
|
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=(
|
|
('HOME', '/'),
|
|
('ABOUT', '/pages/about.html'),
|
|
('TOPICS', '/categories.html'),
|
|
('LINKS', '/pages/links.html')
|
|
)
|
|
THEME = 'themes/homebrewserver.club'
|
|
|
|
|