1
0
mirror of https://github.com/balkian/balkian.github.com.git synced 2024-11-14 15:42:28 +00:00
balkian.github.com/pelicanconf.py
J. Fernando Sánchez 04c716e212 Migrated to Pelican
Now tags have pages, and all other visual goodies :)
2015-01-22 23:37:23 +01:00

57 lines
1.3 KiB
Python

#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'J. Fernando S\xe1nchez'
SITENAME = u'balkian.com'
SITEURL = ''
PATH = 'content'
TIMEZONE = 'Europe/Paris'
DEFAULT_LANG = u'en'
# Feed generation is usually not desired when developing
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/'),
('You can modify those links in your config file', '#'),)
# Social widget
SOCIAL = (('You can add links in your config file', '#'),
('Another social link', '#'),)
DEFAULT_PAGINATION = 10
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
THEME = "balkiantheme"
def date_to_string(date):
return date.strftime('%Y-%m-%d')
JINJA_FILTERS = {'date_to_string': date_to_string}
PLUGIN_PATH = ["plugins/",]
PLUGINS = ["neighbors",]
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
STATIC_PATHS = [
'extra/CNAME',
'extra/favicon',
'fonts'
]
EXTRA_PATH_METADATA = {
'extra/CNAME': {'path': 'CNAME'},
'extra/favicon': {'path': 'favicon'},
}