summaryrefslogtreecommitdiffstats
path: root/pelicanconf.py
blob: a0a1fa6ec1613a7c31a6cbc4309101097f137022 (plain)
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
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = 'makefu'
SITENAME = 'only code is pure'
SITEURL = 'http://euer.krebsco.de'
#SITESUBTITLE = 'A collection of pseudocode snippets'

TIMEZONE = 'Europe/Berlin'
THEME = './pelican-themes/gum/'
DEFAULT_LANG = 'en'
#DEFAULT_CATEGORY = 'misc'
# Feed generation is usually not desired when developing
FEED_ALL_ATOM = 'atom.xml'
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
STATIC_PATHS = ['extra/robots.txt','extra','img','extra/reghack/index.html' ]
EXTRA_PATH_METADATA = { 'extra/robots.txt': {'path': 'robots.txt'}, }

# Blogroll
LINKS =  (('exco\'s blog', 'http://excogitation.de'),
        ('NixOS Wiki', 'https://nixos.wiki'),
        ('Binaergewitter', 'http://krepel.us'),)

# Social widget
SOCIAL = (('@makefoo', 'http://twitter.com/makefoo') ,)
DEFAULT_PAGINATION = 10

DISQUS_SITENAME = 'euer'
#GOOGLE_ANALYTICS = ""
PIWIK_URL='mediengewitter.krebsco.de:10000'
PIWIK_SITE_ID=1

# Uncomment following line if you want document-relative URLs when developing
RELATIVE_URLS = True
MENUITEMS = ( ( 'Wiki', 'http://wiki.euer.krebsco.de/makefu.html'),
        ( 'Graphs', 'http://graph.krebsco.de'),( 'RSS', '/atom.xml',),)

READERS = {"html": None}

PLUGIN_PATHS = ['plugins',]
PLUGINS=['sitemap','tag_cloud']

SITEMAP = {
    'format': 'xml',
    'priorities': {
        'articles': 0.5,
        'indexes': 0.5,
        'pages': 0.5
    },
    'changefreqs': {
        'articles': 'monthly',
        'indexes': 'daily',
        'pages': 'monthly'
    }
}
TAG_CLOUD_STEPS = 8
TAG_CLOUD_MAX_ITEMS = 20
TAG_CLOUD_SORTING = 'random'
TAG_CLOUD_BADGE = True