mirror of
https://github.com/balkian/balkian.github.com.git
synced 2024-11-10 13:42:29 +00:00
63 lines
1.4 KiB
Python
63 lines
1.4 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_PATHS = ["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'},
|
|
}
|
|
|
|
IGNORE_FILES = ['.*']
|
|
|
|
MENUITEMS=[('CV','http://jfernando.es')]
|
|
|
|
DISPLAY_PAGES_ON_MENU=True
|