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"
|
2021-01-19 22:04:44 +01:00
|
|
|
TRANSLATION_FEED_RSS = "feeds/all-{lang}.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
|
|
|
|
|
2022-04-22 22:01:05 +02:00
|
|
|
DEFAULT_PAGINATION = 25
|
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",
|
2022-05-18 10:04:58 +02:00
|
|
|
"complex_footnotes"
|
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
|
|
|
|
2022-04-22 21:33:30 +02:00
|
|
|
STATIC_PATHS = ["extra/favicon.ico", "images", "documents"]
|
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": {
|
2021-03-18 20:30:20 +01:00
|
|
|
"SITESUBTITLE": u"",
|
2021-01-19 22:45:41 +01:00
|
|
|
"SITEURL": "varia.zone/en",
|
2021-01-19 21:50:17 +01:00
|
|
|
"locale": "en_US.UTF-8",
|
|
|
|
},
|
|
|
|
"nl": {
|
2021-03-18 20:30:20 +01:00
|
|
|
"SITESUBTITLE": u"",
|
2021-01-19 22:45:41 +01:00
|
|
|
"SITEURL": "varia.zone",
|
2021-01-19 21:50:17 +01:00
|
|
|
"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"
|
2022-04-22 21:32:27 +02:00
|
|
|
|