many many many Varia's websites, work in progress: https://many.vvvvvvaria.org
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.

79 lines
1.9 KiB

7 years ago
#!/usr/bin/env python
# -*- coding: utf-8 -*- #
from __future__ import unicode_literals
AUTHOR = 'Varia'
SITENAME = 'Varia'
SITEURL = 'https://varia.zone'
7 years ago
PATH = 'content'
TIMEZONE = 'Europe/Amsterdam'
DEFAULT_LANG = 'nl'
7 years ago
# Feed generation is usually not desired when developing
FEED_DOMAIN = SITEURL
FEED_ALL_RSS = 'feeds/all.rss.xml'
# CATEGORY_FEED_ATOM = None
TRANSLATION_FEED_RSS = 'feeds/all-{lang}.rss.xml'
7 years ago
AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = False
7 years ago
THEME = 'themes/varia'
THEME_STATIC_DIR = 'theme'
7 years ago
PLUGIN_PATHS = ['plugins/pelican-plugins', 'plugins/plugins-custom']
PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes', 'stream', 'thumbnailer']
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream']
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
MARKDOWN = {
'extensions':[
'markdown.extensions.codehilite',
'markdown.extensions.extra',
'markdown.extensions.smarty',
'markdown.extensions.toc' # We're probably not using this one?
]
}
#Our custom events plugin
PLUGIN_EVENTS = {
'ics_calendars': ['events.ics', 'curriculum.ics'],
'default_location' : '',
'calendar_per_category': False
}
#Our custom Thumbnailer plugin settings
IMAGE_PATH ="images"
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_DIR ="images"
THUMBNAIL_SIZES = {'thumb':'200x?', 'thumb2x':'400x?'}
# Translations plugin settings
I18N_SUBSITES = {
'en': {
7 years ago
'SITESUBTITLE':u'Centre for Everyday Technology',
'SITEURL':'varia.zone/en/',
7 years ago
'locale':'en_US.UTF-8'
},
'nl': {
7 years ago
'SITESUBTITLE':u'Centrum voor Alledaagse Technologie',
'SITEURL':'varia.zone/',
7 years ago
'locale':'nl.UTF-8'
}
}
#Dateish plugin settings
DATEISH_PROPERTIES = ['event_start', 'event_end']
# category url
CATEGORY_URL = '/{slug}.html'
# Uncomment following line if you want document-relative URLs when developing
#RELATIVE_URLS = True