-
Notifications
You must be signed in to change notification settings - Fork 0
/
pelicanconf.py
98 lines (81 loc) · 2.63 KB
/
pelicanconf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'Alois Keel'
SITENAME = u'Baurecht Keel'
SITEURL = 'baurecht-keel.ch'
#SITELOGO = 'images/olu-logo.png'
SITEMAP = {'format' : 'xml'}
PATH = 'content'
TIMEZONE = 'Europe/Zurich'
DEFAULT_LANG = u'de'
DEFAULT_DATE_FORMAT = '%d.%m.%Y'
# 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
GOOGLE_ANALYTICS = 'UA-66947311-1'
#DISQUS_SITENAME = 'olunz'
USE_FOLDER_AS_CATEGORY = True
DISPLAY_CATEGORIES_ON_MENU = True
MENUITEMS = [
('Angebot', [
('Dienstleistungen', "/pages/angebot.html"),
( 'Honorar', '/pages/honorar.html'),
]),
('Über uns', [
('Leitbild', '/pages/leitbild.html'),
('Alois Keel', '/team.html'),
#('Publikationen', '/pages/publikationen.html'),
]),
('Aktuelles', [
('Stichwörter', '/tags.html'),
('Kategorien', '/categories.html'),
('Chronologisch', '/archives.html'),
]),
('Kontakt', '/pages/kontakt.html'),
]
#THEME = '/home/ik/olu/themes/notallmyidea'
#THEME = '/home/ik/olu/themes/pbstr_1'
THEME = 'themes/pelican-chameleon-olu'
#BS3_THEME = 'http://bootswatch.com/flatly/bootstrap.min.css'
#THEME = '/home/ik/olu/themes/basic'
# bootstrap themes: amelia cerulean cosmo cupid custom cyborg darkly flatly journal lumen paper readable readable-old sandstone shamrock simplex slate spacelab superhero united yeti
#BOOTSTRAP_THEME = 'simplex'
#PYGMENTS_STYLE = 'vim'
#BOOTSTRAP_FLUID = True
#STATIC_PATHS = ['images', 'downloads', 'Über uns']
STATIC_PATHS = ['images', 'downloads']
#PAGE_PATHS = ['pages', 'Über uns']
PLUGIN_PATHS = ['pelican-plugins']
PLUGINS = [
'minification',
'sitemap',
#'gallery',
#'thumbnailer',
#'gravatar',
'tag_cloud'
]
IMAGE_PATH = 'images'
THUMBNAIL_DIR = 'thumbs'
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_SIZES = {'hconst': '?x150'}
THUMBNAIL_KEEP_TREE = True
# tag_cloud related stuff
TAG_CLOUD_STEPS = 4
TAG_CLOUD_MAX_ITEMS = 100
TAG_CLOUD_SORTING = 'random'
#TAG_CLOUD_BADGE = True
# Blogroll
LINKS = (
#('Pelican', 'http://getpelican.com/'),
#('Python.org', 'http://python.org/'),
('Baurekursgericht Zürich', 'http://baurekursgericht-zh.ch/'),)
# 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