2017-07-06 14:28:42 +02:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*- #
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
AUTHOR = u'team'
|
2017-10-27 10:22:26 +02:00
|
|
|
SITENAME = u'varia'
|
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
|
2017-10-20 15:59:16 +02:00
|
|
|
FEED_ALL_RSS = 'feeds/all.rss.xml'
|
|
|
|
RSS_FEED_SUMMARY_ONLY = False
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2017-09-14 23:40:20 +02:00
|
|
|
DEFAULT_PAGINATION = 25
|
2017-07-06 14:28:42 +02:00
|
|
|
|
|
|
|
# Uncomment following line if you want document-relative URLs when developing
|
|
|
|
#RELATIVE_URLS = True
|
|
|
|
|
|
|
|
PLUGIN_PATHS = ['./plugins']
|
2017-10-24 10:50:06 +02:00
|
|
|
PLUGINS = ['extract_toc', 'i18n_subsites', 'summary']
|
|
|
|
# PLUGINS = ['extract_toc', 'i18n_subsites', 'events', 'summary']
|
2017-10-06 11:57:31 +02:00
|
|
|
MD_EXTENSIONS = ['codehilite','extra','toc']
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2017-10-07 22:13:40 +02:00
|
|
|
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs']
|
2017-07-06 14:28:42 +02:00
|
|
|
EXTRA_PATH_METADATA = {
|
2017-09-14 23:40:20 +02:00
|
|
|
'extra/robots.txt': {'path': 'robots.txt'},
|
|
|
|
'extra/favicon.ico': {'path': 'favicon.ico'},
|
|
|
|
'extra/htaccess': {'path': '.htaccess'}
|
|
|
|
}
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2017-09-12 14:56:24 +02:00
|
|
|
THEME = 'themes/cetcat'
|
2017-10-24 10:50:06 +02:00
|
|
|
THEME_STATIC_DIR = 'theme/'
|
2017-07-07 14:14:16 +02:00
|
|
|
|
2017-10-06 11:57:31 +02:00
|
|
|
#SUMMARY_USE_FIRST_PARAGRAPH = True
|
|
|
|
|
2017-09-12 17:27:17 +02:00
|
|
|
# ARTICLE_LANG_URL = '{slug}-{lang}.html'
|
2017-07-07 14:14:16 +02:00
|
|
|
|
2017-09-14 23:40:20 +02:00
|
|
|
I18N_SUBSITES = {
|
|
|
|
'en': {
|
|
|
|
'SITESUBTITLE':u'Centre for Everyday Technology', 'locale':'en_US.UTF-8'
|
|
|
|
},
|
|
|
|
'nl': {
|
2017-10-24 10:50:06 +02:00
|
|
|
'SITESUBTITLE':u'Centrum voor Alledaagse Technologie', 'locale':'nl.UTF-8'
|
2017-09-14 23:40:20 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
lang_siteurls = {
|
2017-10-24 10:50:06 +02:00
|
|
|
'/': '/',
|
2017-09-14 23:40:20 +02:00
|
|
|
'en': '/en/'
|
|
|
|
}
|
2017-10-06 11:57:31 +02:00
|
|
|
PLUGIN_EVENTS={
|
|
|
|
'ics_fname':'calendar.ics'
|
|
|
|
}
|