view pelicanconf.py @ 42:51d2ddc51e40

update the theme with the latest changes from upstream
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 30 Sep 2014 03:53:59 +0200
parents e6872b8d42e2
children ea8a767f5111
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.duckdns.org/blog'
ARCHIVES_URL = 'archives.html'

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

PLUGIN_PATHS = ['../simple_comments']
#PLUGINS = ['simple_comments', 'pelicaptcha']
PLUGINS = ['simple_comments']

# simple_comments plugin config
COMMENT_PATH = 'comments'

# pelicaptcha plugin config
PELICAPTCHA_FONT = '/usr/share/tuxpaint/fonts/FreeMono.ttf'

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

THEME = 'themes/tuxlite_tbs'
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