diff options
Diffstat (limited to 'references/pelicanconf.py')
-rw-r--r-- | references/pelicanconf.py | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/references/pelicanconf.py b/references/pelicanconf.py new file mode 100644 index 0000000..a28721d --- /dev/null +++ b/references/pelicanconf.py @@ -0,0 +1,42 @@ +#!/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" |