varia.website/pelicanconf.py

62 lines
1.5 KiB
Python
Raw Normal View History

2017-07-06 14:28:42 +02:00
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
2017-11-24 18:34:04 +01:00
AUTHOR = u'Varia'
SITENAME = u'Varia'
2017-07-06 14:28:42 +02:00
PATH = 'content'
TIMEZONE = 'Europe/Amsterdam'
DEFAULT_LANG = u'nl'
2017-11-28 20:38:30 +01:00
DEFAULT_DATE = 'fs'
2017-11-28 19:37:21 +01:00
USE_FOLDER_AS_CATEGORY = True
2017-07-06 14:28:42 +02:00
# Feed generation is usually not desired when developing
2017-11-24 18:34:04 +01:00
FEED_DOMAIN = 'varia.zone/feeds/'
FEED_ALL_RSS = 'feeds/all.rss.xml'
TRANSLATION_FEED_RSS = 'feeds/all-%s.rss.xml'
RSS_FEED_SUMMARY_ONLY = False
2017-07-06 14:28:42 +02:00
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
2017-11-24 18:34:04 +01:00
CATEGORY_FEED_RSS = None
2017-07-06 14:28:42 +02:00
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
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
PLUGIN_PATHS = ['./plugins']
2017-11-28 19:37:21 +01:00
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-09-14 23:40:20 +02:00
I18N_SUBSITES = {
'en': {
2017-11-24 18:34:04 +01:00
'SITESUBTITLE':u'Centre for Everyday Technology',
'SITEURL':'varia.zone/en/',
'locale':'en_US.UTF-8'
2017-09-14 23:40:20 +02:00
},
'nl': {
2017-11-24 18:34:04 +01:00
'SITESUBTITLE':u'Centrum voor Alledaagse Technologie',
'SITEURL':'varia.zone/',
'locale':'nl.UTF-8'
2017-09-14 23:40:20 +02:00
}
}
2017-11-28 19:37:21 +01:00
PLUGIN_EVENTS = {
'ics_calendars': ['event.ics', 'curriculum.ics'],
'default_location' : '',
'calendar_per_category': True
}