From c8cfe63aac73a92ae02354a5306ca5480808daff Mon Sep 17 00:00:00 2001 From: Hans-Peter Oeri Date: Thu, 25 Oct 2018 13:27:51 +0200 Subject: re-do site in schiedsstelle layout --- pelicanconf.py | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 pelicanconf.py (limited to 'pelicanconf.py') diff --git a/pelicanconf.py b/pelicanconf.py new file mode 100644 index 0000000..d238de5 --- /dev/null +++ b/pelicanconf.py @@ -0,0 +1,53 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- # +from __future__ import unicode_literals + +AUTHOR = u'Chaos Computer Club e.V.' +SITENAME = u'Hilfsangebote' +SITEURL = '' + +TIMEZONE = 'Europe/Berlin' + +DEFAULT_LANG = u'de' +DISPLAY_PAGES_ON_MENU = True + +# Feed generation is usually not desired when developing +FEED_ALL_ATOM = None +CATEGORY_FEED_ATOM = None +TRANSLATION_FEED_ATOM = None +AUTHOR_FEED_ATOM = None +AUTHOR_FEED_RSS = None + +DEFAULT_PAGINATION = 10 + +# Uncomment following line if you want document-relative URLs when developing +#RELATIVE_URLS = True +THEME = u'theme/cccevents' +MARKDOWN = { + 'extension_configs': { + 'markdown.extensions.codehilite': {'css_class': 'highlight'}, + 'markdown.extensions.extra': {}, + 'markdown.extensions.meta': {}, + 'markdown.extensions.toc': {}, + }, + 'output_format': 'html5', +} + +PAGE_URL = '{slug}.html' +PAGE_SAVE_AS = '{slug}.html' +PAGE_LANG_URL = '{slug}.{lang}.html' +PAGE_LANG_SAVE_AS = '{slug}.{lang}.html' +PAGE_ORDER_BY = 'sortorder' + +PATH = 'content' +PAGE_PATHS = ['pages'] + +STATIC_PATHS = ['images', 'extra/robots.txt'] +PATH_METADATA = '(?P.*)\..*' +EXTRA_PATH_METADATA = { + 'extra/robots.txt': {'path': 'robots.txt'}, +} + +LOAD_CONTENT_CACHE = False + +DELETE_OUTPUT_DIRECTORY = True -- cgit v1.2.3