summaryrefslogtreecommitdiff
path: root/references/pelicanconf.py
blob: a28721d2603b771505078e807488511ea894154a (plain) (blame)
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
#!/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"