Files
first-contact.net/pelicanconf.py
Maximilian Staab ef9726b2d5 Fixed links
Links for wochenplan and contact have been swaped.
2017-10-07 16:52:10 +02:00

62 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://localhost:8080'
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_PAGES_ON_MENU = True
DISPLAY_CATEGORIES_ON_MENU = False
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_SAVE_AS = 'pages/{slug}.html'
PLUGIN_PATHS = ["plugins"]
#PLUGINS = ["render_math"]
MENUITEMS = [
('O-Phase', [
('Wochenplan', 'misc/2017Okt05/Wochenplan'),
('Schreibt uns!', 'misc/2017Okt04/Kontakt'),
]),
('Kontakt', [
('Datenschutzerklärung', 'pages/datenschutzerklarung.html'),
('Impressum', 'pages/impressum.html'),
('Kontakt', '/pages/kontakt.html'),
]),
]
#buildNavigation.getNavigation()
STATIC_PATHS = ['images', 'tut' ]