Source

blog / pelicanconf.py

Full commit
#!/usr/bin/env python
# -*- coding: utf-8 -*- #

AUTHOR = u"Peter Ward"
SITENAME = u"flowblok’s blog"
SITEURL = ''

PLUGINS = []

PLUGINS.append('pubsubhubbub')
PUBSUBHUBBUB_URL = 'http://pubsubhubbub.appspot.com/'

THEME = 'theme'

USE_FOLDER_AS_CATEGORY = True

TIMEZONE = 'Australia/Sydney'
DEFAULT_LANG = 'en'

DISQUS_SITENAME = 'flowbloksblog'

ARTICLE_URL = '{date:%Y}-{date:%m}/{slug}.html'
ARTICLE_SAVE_AS = '{date:%Y}-{date:%m}/{slug}.html'
ARTICLE_LANG_URL = '{date:%Y}-{date:%m}/{slug}.{lang}.html'
ARTICLE_LANG_SAVE_AS = '{date:%Y}-{date:%m}/{slug}.{lang}.html'
PAGE_URL = '{slug}'
PAGE_SAVE_AS = '{slug}/index.html'
PAGE_LANG_URL = '{slug}/index-{lang}.html'
PAGE_LANG_SAVE_AS = '{slug}/index-{lang}.html'

LINKS = (
    ('code', 'http://hg.flowblok.id.au/'),
    ('photos', 'http://flickr.com/photos/flowblok'),
)

SOCIAL = (
    ('twitter', 'https://twitter.com/flowblok'),
    ('facebook', 'https://facebook.com/flowblok'),
)

DEFAULT_PAGINATION = 10