55 lines
1.4 KiB
Python
55 lines
1.4 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
AUTHOR = 'Marvin Steadfast'
|
|
SITENAME = "xsteadfastx is trying to code"
|
|
SITEURL = 'http://code.xsteadfastx.org'
|
|
TIMEZONE = "Europe/Berlin"
|
|
|
|
# can be useful in development, but set to False when you're ready to publish
|
|
RELATIVE_URLS = True
|
|
|
|
GITHUB_URL = 'http://github.com/xsteadfastx/'
|
|
DISQUS_SITENAME = "xsteadfastxistryingtocode"
|
|
PDF_GENERATOR = False
|
|
REVERSE_CATEGORY_ORDER = True
|
|
LOCALE = "C"
|
|
DEFAULT_PAGINATION = 4
|
|
DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
|
|
|
|
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
|
CATEGORY_FEED_RSS = 'feeds/%s.rss.xml'
|
|
|
|
# global metadata to all the contents
|
|
#DEFAULT_METADATA = (('yeah', 'it is'),)
|
|
|
|
# path-specific metadata
|
|
EXTRA_PATH_METADATA = {
|
|
#'extra/robots.txt': {'path': 'robots.txt'},
|
|
'extra/CNAME': {'path': 'CNAME'},
|
|
}
|
|
|
|
# static paths will be copied without parsing their contents
|
|
STATIC_PATHS = [
|
|
'images',
|
|
#'extra/robots.txt',
|
|
'extra/CNAME',
|
|
]
|
|
|
|
# custom page generated with a jinja2 template
|
|
#TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
|
|
|
|
# code blocks with line numbers
|
|
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
|
|
|
|
# foobar will not be used, because it's not in caps. All configuration keys
|
|
# have to be in caps
|
|
#foobar = "barbaz"
|
|
|
|
THEME = 'themes/xsteadfastx'
|
|
OUTPUT_PATH = 'output'
|
|
PATH = 'content'
|
|
|
|
ARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'
|
|
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'
|