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.

87 lines
1.9 KiB

AUTHOR = u"Varia"
SITENAME = u"Varia"
SITEURL = "https://varia.zone"
8 years ago
PATH = "content"
8 years ago
TIMEZONE = "Europe/Amsterdam"
8 years ago
DEFAULT_LANG = u"nl"
DEFAULT_DATE = "fs"
USE_FOLDER_AS_CATEGORY = True
8 years ago
FEED_DOMAIN = SITEURL
FEED_ALL_RSS = "feeds/all.rss.xml"
TRANSLATION_FEED_RSS = "feeds/all-{lang}.rss.xml"
7 years ago
RSS_FEED_SUMMARY_ONLY = False
8 years ago
FEED_ALL_ATOM = None
CATEGORY_FEED_ATOM = None
7 years ago
CATEGORY_FEED_RSS = None
8 years ago
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
DEFAULT_PAGINATION = 100
8 years ago
PLUGIN_PATHS = ["./pelican-plugins", "./plugins-custom"]
PLUGINS = [
"dateish",
"extract_toc",
"i18n_subsites",
"summary",
"events-ics",
"complex_footnotes",
"thumbnailer",
]
MARKDOWN = {
"extension_configs": {
"markdown.extensions.codehilite": {"css_class": "highlight"},
"markdown.extensions.extra": {},
"markdown.extensions.meta": {},
"markdown.extensions.toc": {
"marker": "[TOC]",
},
},
"output_format": "html5",
}
8 years ago
STATIC_PATHS = ["extra/favicon.ico", "images"]
8 years ago
EXTRA_PATH_METADATA = {
"extra/robots.txt": {"path": "robots.txt"},
"extra/favicon.ico": {"path": "favicon.ico"},
"extra/htaccess": {"path": ".htaccess"},
}
8 years ago
THEME = "themes/varia"
THEME_STATIC_DIR = "theme/"
I18N_SUBSITES = {
"en": {
"SITESUBTITLE": u"Centre for Everyday Technology",
4 years ago
"SITEURL": "varia.zone/en",
"locale": "en_US.UTF-8",
},
"nl": {
"SITESUBTITLE": u"Centrum voor Alledaagse Technologie",
4 years ago
"SITEURL": "varia.zone",
"locale": "nl.UTF-8",
},
}
PLUGIN_EVENTS = {
"ics_calendars": ["events.ics", "curriculum.ics"],
"default_location": "",
"calendar_per_category": False,
}
DATEISH_PROPERTIES = ["event_start", "event_end"]
IMAGE_PATH = "images"
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_DIR = "images"
THUMBNAIL_SIZES = {"thumb": "200x?", "thumb2x": "400x?"}
CATEGORY_URL = "/{slug}.html"