Mercurial > hg > Blog
annotate pelicanconf.py @ 3:a9f7146e01af
fix the theme by specifying some variables
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 28 Jun 2013 15:54:51 +0200 |
parents | 3efa31d1bc6e |
children | 6e2bcaecf3ec |
rev | line source |
---|---|
0
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
1 #!/usr/bin/env python |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
2 # -*- coding: utf-8 -*- # |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
3 from __future__ import unicode_literals |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
4 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
5 AUTHOR = u'Dirk Olmes' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
6 SITENAME = u'Infoschnipsel und Wissenswertes' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
7 SITEURL = 'http://xanthippe.dyndns.org/blog' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
8 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
9 LOCALE = 'de_DE' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
10 TIMEZONE = 'Europe/Berlin' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
11 TYPOGRIFY = True |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
12 |
1 | 13 # this theme looks ok but has some downsides: |
14 # - tag list at the bottom only | |
15 # - html validation errors | |
16 #THEME = '../pelican-themes/built-texts' | |
3
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
17 |
1 | 18 THEME = '../pelican-themes/tuxlite_tbs' |
3
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
19 # fix the theme - other themes don't need additional variables |
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
20 ARCHIVES_URL = 'archives.html' |
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
21 FEED = 'feeds/all.atom.xml' |
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
22 |
0
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
23 DISPLAY_CATEGORIES_ON_MENU = False |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
24 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
25 DEFAULT_LANG = u'de_DE' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
26 DEFAULT_DATE_FORMAT = u'%d.%m.%Y' |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
27 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
28 # Feed generation is usually not desired when developing |
3
a9f7146e01af
fix the theme by specifying some variables
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
1
diff
changeset
|
29 FEED_ALL_ATOM = None |
0
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
30 CATEGORY_FEED_ATOM = None |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
31 TRANSLATION_FEED_ATOM = None |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
32 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
33 # Blogroll |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
34 LINKS = () #('Pelican', 'http://getpelican.com/'), |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
35 # ('Python.org', 'http://python.org/'), |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
36 # ('Jinja2', 'http://jinja.pocoo.org/'), |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
37 # ('You can modify those links in your config file', '#'),) |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
38 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
39 # Social widget |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
40 SOCIAL = () #('You can add links in your config file', '#'), |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
41 # ('Another social link', '#'),) |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
42 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
43 DEFAULT_PAGINATION = 10 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
44 |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
45 # Uncomment following line if you want document-relative URLs when developing |
4cd9b65e10e4
initial import of the pelican based blog
Dirk Olmes <dirk@xanthippe.ping.de>
parents:
diff
changeset
|
46 RELATIVE_URLS = True |