2021-01-19 21:50:17 +01:00
|
|
|
AUTHOR = u"Varia"
|
|
|
|
SITENAME = u"Varia"
|
|
|
|
SITEURL = "https://varia.zone"
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
PATH = "content"
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
TIMEZONE = "Europe/Amsterdam"
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
DEFAULT_LANG = u"nl"
|
|
|
|
DEFAULT_DATE = "fs"
|
2017-11-28 19:37:21 +01:00
|
|
|
USE_FOLDER_AS_CATEGORY = True
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2018-02-01 16:26:03 +01:00
|
|
|
FEED_DOMAIN = SITEURL
|
2021-01-19 21:50:17 +01:00
|
|
|
FEED_ALL_RSS = "feeds/all.rss.xml"
|
|
|
|
TRANSLATION_FEED_RSS = "feeds/all-%s.rss.xml"
|
2017-11-24 18:34:04 +01:00
|
|
|
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
|
|
|
|
|
2019-05-13 22:30:22 +02:00
|
|
|
DEFAULT_PAGINATION = 100
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
PLUGIN_PATHS = ["./pelican-plugins", "./plugins-custom"]
|
2019-09-07 01:05:34 +02:00
|
|
|
|
|
|
|
PLUGINS = [
|
2021-01-19 21:50:17 +01:00
|
|
|
"dateish",
|
|
|
|
"extract_toc",
|
|
|
|
"i18n_subsites",
|
|
|
|
"summary",
|
|
|
|
"events-ics",
|
|
|
|
"complex_footnotes",
|
|
|
|
"thumbnailer",
|
2019-09-07 01:05:34 +02:00
|
|
|
]
|
2019-08-25 10:52:26 +02:00
|
|
|
|
2019-08-25 10:55:19 +02:00
|
|
|
MARKDOWN = {
|
2021-01-19 21:50:17 +01:00
|
|
|
"extension_configs": {
|
|
|
|
"markdown.extensions.codehilite": {"css_class": "highlight"},
|
|
|
|
"markdown.extensions.extra": {},
|
|
|
|
"markdown.extensions.meta": {},
|
|
|
|
"markdown.extensions.toc": {
|
|
|
|
"marker": "[TOC]",
|
2019-08-25 10:55:19 +02:00
|
|
|
},
|
|
|
|
},
|
2021-01-19 21:50:17 +01:00
|
|
|
"output_format": "html5",
|
2019-08-25 10:55:19 +02:00
|
|
|
}
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
STATIC_PATHS = ["extra/favicon.ico", "images", "pdfs", "stream"]
|
2017-07-06 14:28:42 +02:00
|
|
|
EXTRA_PATH_METADATA = {
|
2021-01-19 21:50:17 +01:00
|
|
|
"extra/robots.txt": {"path": "robots.txt"},
|
|
|
|
"extra/favicon.ico": {"path": "favicon.ico"},
|
|
|
|
"extra/htaccess": {"path": ".htaccess"},
|
2017-09-14 23:40:20 +02:00
|
|
|
}
|
2017-07-06 14:28:42 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
THEME = "themes/varia"
|
|
|
|
THEME_STATIC_DIR = "theme/"
|
2017-07-07 14:14:16 +02:00
|
|
|
|
2017-09-14 23:40:20 +02:00
|
|
|
I18N_SUBSITES = {
|
2021-01-19 21:50:17 +01:00
|
|
|
"en": {
|
|
|
|
"SITESUBTITLE": u"Centre for Everyday Technology",
|
|
|
|
"SITEURL": "varia.zone/en/",
|
|
|
|
"locale": "en_US.UTF-8",
|
|
|
|
},
|
|
|
|
"nl": {
|
|
|
|
"SITESUBTITLE": u"Centrum voor Alledaagse Technologie",
|
|
|
|
"SITEURL": "varia.zone/",
|
|
|
|
"locale": "nl.UTF-8",
|
|
|
|
},
|
2018-03-06 12:04:11 +01:00
|
|
|
}
|
2018-03-06 16:54:52 +01:00
|
|
|
|
2017-11-28 19:37:21 +01:00
|
|
|
PLUGIN_EVENTS = {
|
2021-01-19 21:50:17 +01:00
|
|
|
"ics_calendars": ["events.ics", "curriculum.ics"],
|
|
|
|
"default_location": "",
|
|
|
|
"calendar_per_category": False,
|
2018-02-01 13:06:58 +01:00
|
|
|
}
|
2018-02-01 15:16:37 +01:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
DATEISH_PROPERTIES = ["event_start", "event_end"]
|
2018-03-06 21:42:19 +01:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
IMAGE_PATH = "images"
|
2018-03-06 16:54:52 +01:00
|
|
|
THUMBNAIL_KEEP_NAME = True
|
2021-01-19 21:50:17 +01:00
|
|
|
THUMBNAIL_DIR = "images"
|
|
|
|
THUMBNAIL_SIZES = {"thumb": "200x?", "thumb2x": "400x?"}
|
2020-04-17 01:01:32 +02:00
|
|
|
|
2021-01-19 21:50:17 +01:00
|
|
|
CATEGORY_URL = "/{slug}.html"
|