2017-07-06 14:28:42 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = u'team'
|
2017-07-07 14:14:16 +02:00
|
|
|
SITENAME = u'ʬ'
|
|
|
|
SITESUBTITLE= u'Centrum voor Alledaagse Technologie'
|
2017-07-06 14:28:42 +02:00
|
|
|
SITEURL = ''
|
|
|
|
|
|
|
|
PATH = 'content'
|
|
|
|
|
|
|
|
TIMEZONE = 'Europe/Amsterdam'
|
|
|
|
|
|
|
|
DEFAULT_LANG = u'nl'
|
|
|
|
|
|
|
|
# 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', '#'),
|
2017-07-07 14:14:16 +02:00
|
|
|
# ('Another social link', '#'),)
|
2017-07-06 14:28:42 +02:00
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 5
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
#RELATIVE_URLS = True
|
|
|
|
|
|
|
|
PLUGIN_PATHS = ['./plugins']
|
2017-07-07 14:14:16 +02:00
|
|
|
PLUGINS = ['extract_toc', 'i18n_subsites']
|
2017-07-06 14:28:42 +02:00
|
|
|
MD_EXTENSIONS = ['codehilite','extra','smarty', 'toc']
|
|
|
|
|
|
|
|
STATIC_PATHS = ['extra', 'images', 'pdfs']
|
|
|
|
EXTRA_PATH_METADATA = {
|
|
|
|
'extra/robots.txt': {'path': 'robots.txt'},
|
|
|
|
'extra/favicon.ico': {'path': 'favicon.ico'},
|
|
|
|
'extra/htaccess': {'path': '.htaccess'}
|
|
|
|
}
|
|
|
|
|
|
|
|
MENUITEMS=(
|
|
|
|
# adds extra menu items, the others are automatically generated as pages
|
2017-07-07 14:14:16 +02:00
|
|
|
('news', '/'),
|
2017-07-06 14:28:42 +02:00
|
|
|
)
|
|
|
|
|
2017-07-07 14:14:16 +02:00
|
|
|
THEME = 'themes/catcet'
|
|
|
|
|
|
|
|
ARTICLE_LANG_URL = '{slug}-{lang}.html'
|
|
|
|
|
|
|
|
I18N_SUBSITES = {
|
|
|
|
'en': {
|
|
|
|
'SITENAME': u'ʬ', 'SITESUBTITLE':u'Centre for Everyday Technology', 'locale':'en_US.UTF-8'
|
|
|
|
},
|
|
|
|
'nl': {
|
|
|
|
'SITENAME': u'ʬ', 'SITESUBTITLE':u'Centrum voor Alledaagse Technologie',
|
|
|
|
}
|
|
|
|
}
|
2017-07-06 14:28:42 +02:00
|
|
|
|