60 lines
1.7 KiB
Python
60 lines
1.7 KiB
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*- #
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = u'Konstantin Zangerle'
|
|
SITENAME = u'First Contact 2017'
|
|
SITEURL = 'http://www.first-contact.net/2017/'
|
|
|
|
TIMEZONE = 'Europe/Paris'
|
|
|
|
DEFAULT_LANG = u'en'
|
|
|
|
# Feed generation is usually not desired when developing
|
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
|
CATEGORY_FEED_ATOM = None
|
|
TRANSLATION_FEED_ATOM = None
|
|
|
|
# Blogroll
|
|
LINKS = (('Pelican', 'http://getpelican.com/'),
|
|
('Python.org', 'http://python.org/'),
|
|
('Jinja2', 'http://jinja.pocoo.org/'),
|
|
('Feed', 'http://konstantinzangerle.de/feeds/blog.atom.xml'),
|
|
('FS Mathematik / Informatik KIT', 'https://fsmi.uni-karlsruhe.de')
|
|
)
|
|
|
|
# Social widget
|
|
SOCIAL = (('Facebook','http://facebook.com/konstantin.zangerle'),
|
|
('GitHub','http://github.com/JustKiddingCode'),)
|
|
|
|
DEFAULT_PAGINATION = 3
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
RELATIVE_URLS = False
|
|
|
|
THEME = "themes/fsmi-theme"
|
|
#THEME = "themes/jesuislibre"
|
|
DISPLAY_CATEGORIES_ON_MENU = False
|
|
DISPLAY_PAGES_ON_MENU = True
|
|
PAGE_ORDER_BY = 'pageorder'
|
|
ARTICLE_SAVE_AS = '{category}/{date:%Y}{date:%b}{date:%d}/{title}/index.html'
|
|
ARTICLE_URL = '{category}/{date:%Y}{date:%b}{date:%d}/{title}/'
|
|
PAGE_ORDER_BY = 'pageorder'
|
|
PLUGIN_PATHS = ["plugins"]
|
|
#PLUGINS = ["render_math"]
|
|
|
|
#MENUITEMS=buildNavigation.getNavigation()
|
|
MENUITEMS = [
|
|
('O-Phase', [
|
|
('Wochenplan', 'misc/2017Okt04/Kontakt'),
|
|
('Schreibt uns!', 'misc/2017Okt05/Wochenplan'),
|
|
]),
|
|
('Kontakt', [
|
|
('Datenschutzerklärung', 'pages/datenschutzerklarung.html'),
|
|
('Impressum', 'pages/impressum.html'),
|
|
('Kontakt', '/pages/kontakt.html'),
|
|
]),
|
|
]
|
|
|
|
STATIC_PATHS = ['images', 'tut' ]
|