2014-01-28 15:05:04 +01:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = 'Marvin Steadfast'
|
2014-04-03 10:53:29 +02:00
|
|
|
SITENAME = 'is trying to code'
|
2014-09-24 16:42:16 +02:00
|
|
|
SITEURL = ''
|
2014-04-03 10:53:29 +02:00
|
|
|
AVATAR = '/theme/images/avatar.png'
|
2014-01-28 15:05:04 +01:00
|
|
|
TIMEZONE = "Europe/Berlin"
|
2014-04-03 10:53:29 +02:00
|
|
|
DESCRIPTION = "Der Versuch zu programmieren und Computer Zeugs nieder zu bloggen."
|
2014-01-28 15:05:04 +01:00
|
|
|
|
|
|
|
# can be useful in development, but set to False when you're ready to publish
|
|
|
|
RELATIVE_URLS = True
|
|
|
|
|
|
|
|
GITHUB_URL = 'http://github.com/xsteadfastx/'
|
2014-04-03 10:53:29 +02:00
|
|
|
TWITTER_NAME = 'xsteadfastx'
|
2014-02-03 13:47:15 +01:00
|
|
|
#DISQUS_SITENAME = "xsteadfastxistryingtocode"
|
|
|
|
ISSO_URL = 'http://comments.xsteadfastx.org'
|
2014-01-28 15:05:04 +01:00
|
|
|
PDF_GENERATOR = False
|
|
|
|
REVERSE_CATEGORY_ORDER = True
|
|
|
|
LOCALE = "C"
|
|
|
|
DEFAULT_PAGINATION = 4
|
|
|
|
DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
|
|
|
|
|
2014-09-24 16:42:16 +02:00
|
|
|
FEED_ALL_ATOM = 'feeds/all.atom.xml'
|
|
|
|
CATEGORY_FEED_ATOM = 'feeds/%s.atom.xml'
|
2014-01-28 15:05:04 +01:00
|
|
|
|
|
|
|
# global metadata to all the contents
|
|
|
|
#DEFAULT_METADATA = (('yeah', 'it is'),)
|
|
|
|
|
|
|
|
# path-specific metadata
|
|
|
|
EXTRA_PATH_METADATA = {
|
2014-01-28 22:43:40 +01:00
|
|
|
#'extra/robots.txt': {'path': 'robots.txt'},
|
|
|
|
'extra/CNAME': {'path': 'CNAME'},
|
2014-01-28 15:05:04 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
# static paths will be copied without parsing their contents
|
|
|
|
STATIC_PATHS = [
|
2014-01-30 13:55:37 +01:00
|
|
|
'images',
|
2014-01-28 22:43:40 +01:00
|
|
|
#'extra/robots.txt',
|
|
|
|
'extra/CNAME',
|
2014-04-03 10:53:29 +02:00
|
|
|
#'code',
|
|
|
|
#'notebooks'
|
2014-01-28 15:05:04 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
# 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"
|
|
|
|
|
2014-04-03 10:53:29 +02:00
|
|
|
THEME = 'themes/xsteadfastx-greg'
|
2014-01-28 15:05:04 +01:00
|
|
|
OUTPUT_PATH = 'output'
|
|
|
|
PATH = 'content'
|
|
|
|
|
|
|
|
ARTICLE_URL = 'posts/{date:%Y}/{date:%m}/{slug}/'
|
|
|
|
ARTICLE_SAVE_AS = 'posts/{date:%Y}/{date:%m}/{slug}/index.html'
|
2014-04-03 10:53:29 +02:00
|
|
|
|
|
|
|
# plugins
|
2014-11-05 16:49:15 +01:00
|
|
|
PLUGIN_PATHS = ['pelican-plugins']
|
2014-11-18 16:10:56 +01:00
|
|
|
PLUGINS = ['liquid_tags.youtube', 'liquid_tags.notebook']
|
2014-04-03 10:53:29 +02:00
|
|
|
|
|
|
|
#CODE_DIR = 'code'
|
2014-11-18 16:10:56 +01:00
|
|
|
NOTEBOOK_DIR = 'notebooks'
|
|
|
|
EXTRA_HEADER = open('_nb_header.html').read()
|
|
|
|
|
|
|
|
LOAD_CONTENT_CACHE = False
|