first commit
This commit is contained in:
47
pelicanconf.py
Normal file
47
pelicanconf.py
Normal file
@@ -0,0 +1,47 @@
|
||||
#!/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_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=buildNavigation.getNavigation()
|
||||
|
||||
STATIC_PATHS = ['images', 'tut' ]
|
||||
Reference in New Issue
Block a user