view pelicanconf.py @ 98:1d9382b0329b

Specify the syntax on markdown blocks to avoid broken output that has class=err
author Dirk Olmes <dirk@xanthippe.ping.de>
date Thu, 19 Dec 2019 10:04:33 +0100
parents e99db3bc53c1
children
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 = 'https://xanthippe.duckdns.org/blog'
# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
ARCHIVES_URL = 'archives.html'

DEFAULT_LANG = u'de'
TIMEZONE = 'Europe/Berlin'
DEFAULT_DATE_FORMAT = u'%d.%m.%Y'
TYPOGRIFY = True

PLUGIN_PATHS = ['../pelican-plugins']
PLUGINS = ['pelican_comment_system']

# pelican_comment_system plugin config
PELICAN_COMMENT_SYSTEM = True

# 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

# 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 = (
    ('dirk-olmes', 'https://github.com/dirk-olmes'),
)

DEFAULT_PAGINATION = 10