view pelicanconf.py @ 4:f4a440c578d4

proper overrides for publication
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 28 Jun 2013 15:55:03 +0200
parents a9f7146e01af
children 6e2bcaecf3ec
line wrap: on
line source

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'Dirk Olmes'
SITENAME = u'Infoschnipsel und Wissenswertes'
SITEURL = 'http://xanthippe.dyndns.org/blog'

LOCALE = 'de_DE'
TIMEZONE = 'Europe/Berlin'
TYPOGRIFY = True

# this theme looks ok but has some downsides:
# - tag list at the bottom only
# - html validation errors
#THEME = '../pelican-themes/built-texts'

THEME = '../pelican-themes/tuxlite_tbs'
# fix the theme - other themes don't need additional variables
ARCHIVES_URL = 'archives.html'
FEED = 'feeds/all.atom.xml'

DISPLAY_CATEGORIES_ON_MENU = False

DEFAULT_LANG = u'de_DE'
DEFAULT_DATE_FORMAT = u'%d.%m.%Y'

# Feed generation is usually not desired when developing
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = 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 = 10

# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True