2010-12-05 23:11:45 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
2013-01-11 02:57:43 +01:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
|
|
AUTHOR = 'Alexis Métaireau'
|
|
|
|
|
SITENAME = "Alexis' log"
|
2017-10-29 21:28:11 +01:00
|
|
|
SITESUBTITLE = 'A personal blog.'
|
2010-12-05 23:11:45 +00:00
|
|
|
SITEURL = 'http://blog.notmyidea.org'
|
2011-12-29 16:04:46 +01:00
|
|
|
TIMEZONE = "Europe/Paris"
|
2010-12-05 23:11:45 +00:00
|
|
|
|
2013-04-11 12:15:18 -07:00
|
|
|
# can be useful in development, but set to False when you're ready to publish
|
|
|
|
|
RELATIVE_URLS = True
|
|
|
|
|
|
2010-12-05 23:11:45 +00:00
|
|
|
GITHUB_URL = 'http://github.com/ametaireau/'
|
|
|
|
|
DISQUS_SITENAME = "blog-notmyidea"
|
2011-02-01 01:57:39 +00:00
|
|
|
REVERSE_CATEGORY_ORDER = True
|
2012-05-19 23:44:37 +02:00
|
|
|
LOCALE = "C"
|
2012-02-29 18:15:38 +01:00
|
|
|
DEFAULT_PAGINATION = 4
|
2013-01-11 02:57:43 +01:00
|
|
|
DEFAULT_DATE = (2012, 3, 2, 14, 1, 1)
|
2010-12-05 23:11:45 +00:00
|
|
|
|
2012-10-30 21:09:10 +01:00
|
|
|
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
2018-11-03 09:12:20 -06:00
|
|
|
CATEGORY_FEED_RSS = 'feeds/{slug}.rss.xml'
|
2011-02-09 21:17:57 +00:00
|
|
|
|
2010-12-05 23:11:45 +00:00
|
|
|
LINKS = (('Biologeek', 'http://biologeek.org'),
|
2011-01-13 00:46:10 +01:00
|
|
|
('Filyb', "http://filyb.info/"),
|
|
|
|
|
('Libert-fr', "http://www.libert-fr.com"),
|
|
|
|
|
('N1k0', "http://prendreuncafe.com/blog/"),
|
2013-01-11 02:57:43 +01:00
|
|
|
('Tarek Ziadé', "http://ziade.org/blog"),
|
2011-01-13 00:46:10 +01:00
|
|
|
('Zubin Mithra', "http://zubin71.wordpress.com/"),)
|
2010-12-05 23:11:45 +00:00
|
|
|
|
|
|
|
|
SOCIAL = (('twitter', 'http://twitter.com/ametaireau'),
|
|
|
|
|
('lastfm', 'http://lastfm.com/user/akounet'),
|
|
|
|
|
('github', 'http://github.com/ametaireau'),)
|
2010-12-30 14:11:37 +00:00
|
|
|
|
2011-05-07 19:56:55 +01:00
|
|
|
# global metadata to all the contents
|
2015-01-17 16:20:39 -08:00
|
|
|
DEFAULT_METADATA = {'yeah': 'it is'}
|
2011-05-07 19:56:55 +01:00
|
|
|
|
2013-01-05 07:43:11 -05:00
|
|
|
# path-specific metadata
|
|
|
|
|
EXTRA_PATH_METADATA = {
|
|
|
|
|
'extra/robots.txt': {'path': 'robots.txt'},
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
# static paths will be copied without parsing their contents
|
|
|
|
|
STATIC_PATHS = [
|
|
|
|
|
'pictures',
|
|
|
|
|
'extra/robots.txt',
|
|
|
|
|
]
|
2011-05-10 23:18:11 +01:00
|
|
|
|
2012-12-03 22:56:05 +01:00
|
|
|
# custom page generated with a jinja2 template
|
|
|
|
|
TEMPLATE_PAGES = {'pages/jinja2_template.html': 'jinja2_template.html'}
|
|
|
|
|
|
2013-09-15 22:43:24 -07:00
|
|
|
# code blocks with line numbers
|
|
|
|
|
PYGMENTS_RST_OPTIONS = {'linenos': 'table'}
|
|
|
|
|
|
2011-05-11 09:42:37 +06:00
|
|
|
# foobar will not be used, because it's not in caps. All configuration keys
|
2011-01-13 00:46:10 +01:00
|
|
|
# have to be in caps
|
|
|
|
|
foobar = "barbaz"
|