summaryrefslogblamecommitdiff
path: root/references/pelicanconf.py
blob: a28721d2603b771505078e807488511ea894154a (plain) (tree)









































                                                                                                        
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals

AUTHOR = u'Rob Austein'
SITENAME = u'Your Bug Report Will Be Graded'

# Apparently this is much longer than theme designer expected.  Skip it for now.
SITESUBTITLE = u'"I\'m not proud of being a congenital pain in the ass.  But I will take money for it."'

PATH = 'content'
TIMEZONE = 'UTC'
DEFAULT_LANG = u'English'

# Hack article URLs to match what Blogofile did, to avoid breaking links.

ARTICLE_URL = '{date:%Y}/{date:%m}/{date:%d}/{slug}/'
ARTICLE_SAVE_AS = '{date:%Y}/{date:%m}/{date:%d}/{slug}/index.html'

# Feed generation is usually not desired when developing
SITEURL = ''
RELATIVE_URLS = True
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None

# Blogroll
LINKS = (('Pelican', 'http://getpelican.com/'),
         ('Python.org', 'http://python.org/'),
         ('Jinja2', 'http://jinja.pocoo.org/'))
LINKS_WIDGET_NAME = "Links"

# Social widget.  Can't get rid of this with default theme, only change its name.
# Fiddle with themes later
SOCIAL = ()
SOCIAL_WIDGET_NAME = "Subscribe"

DEFAULT_PAGINATION = 10

THEME = "/home/blog/pelican-themes/sundown"