|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = u'team'
|
|
|
|
SITENAME = u'⎵'
|
|
|
|
SITESUBTITLE= u'Centrum voor Alledaagse Technologie'
|
|
|
|
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
|
|
|
|
|
|
|
|
DEFAULT_PAGINATION = 25
|
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
#RELATIVE_URLS = True
|
|
|
|
|
|
|
|
PLUGIN_PATHS = ['./plugins']
|
|
|
|
PLUGINS = ['extract_toc', 'i18n_subsites', 'events', 'summary']
|
|
|
|
MD_EXTENSIONS = ['codehilite','extra','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'}
|
|
|
|
}
|
|
|
|
|
|
|
|
THEME = 'themes/cetcat'
|
|
|
|
|
|
|
|
#SUMMARY_USE_FIRST_PARAGRAPH = True
|
|
|
|
|
|
|
|
# ARTICLE_LANG_URL = '{slug}-{lang}.html'
|
|
|
|
|
|
|
|
I18N_SUBSITES = {
|
|
|
|
'en': {
|
|
|
|
'SITENAME': u'CET',
|
|
|
|
'SITESUBTITLE':u'Centre for Everyday Technology', 'locale':'en_US.UTF-8'
|
|
|
|
},
|
|
|
|
'nl': {
|
|
|
|
'SITENAME': u'CAT', 'SITESUBTITLE':u'Centrum voor Alledaagse Technologie',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lang_siteurls = {
|
|
|
|
'nl': '/',
|
|
|
|
'en': '/en/'
|
|
|
|
}
|
|
|
|
PLUGIN_EVENTS={
|
|
|
|
'ics_fname':'calendar.ics'
|
|
|
|
}
|