Varia's website
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
1.4 KiB

7 years ago
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = u'team'
SITENAME = u'varia'
7 years ago
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
FEED_ALL_RSS = 'feeds/all.rss.xml'
RSS_FEED_SUMMARY_ONLY = False
7 years ago
DEFAULT_PAGINATION = 25
7 years ago
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True
PLUGIN_PATHS = ['./plugins']
7 years ago
PLUGINS = ['extract_toc', 'i18n_subsites', 'summary']
# PLUGINS = ['extract_toc', 'i18n_subsites', 'events', 'summary']
MD_EXTENSIONS = ['codehilite','extra','toc']
7 years ago
7 years ago
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs']
7 years ago
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
'extra/favicon.ico': {'path': 'favicon.ico'},
'extra/htaccess': {'path': '.htaccess'}
}
7 years ago
THEME = 'themes/cetcat'
7 years ago
THEME_STATIC_DIR = 'theme/'
#SUMMARY_USE_FIRST_PARAGRAPH = True
# ARTICLE_LANG_URL = '{slug}-{lang}.html'
I18N_SUBSITES = {
'en': {
'SITESUBTITLE':u'Centre for Everyday Technology', 'locale':'en_US.UTF-8'
},
'nl': {
7 years ago
'SITESUBTITLE':u'Centrum voor Alledaagse Technologie', 'locale':'nl.UTF-8'
}
}
lang_siteurls = {
7 years ago
'/': '/',
'en': '/en/'
}
PLUGIN_EVENTS={
'ics_fname':'calendar.ics'
}