62 lines
1.6 KiB
Python
62 lines
1.6 KiB
Python
#!/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
|