enabled thumbnailer plugin

This commit is contained in:
rra 2018-03-06 16:54:52 +01:00
parent dbbf548f27
commit 0a66ae863b

View File

@ -31,7 +31,7 @@ DEFAULT_PAGINATION = 25
# Uncomment following line if you want document-relative URLs when developing
PLUGIN_PATHS = ['./pelican-plugins', './plugins-custom']
PLUGINS = ['dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes']
PLUGINS = ['thumbnailer','dateish', 'extract_toc', 'i18n_subsites', 'summary', 'events-ics','complex_footnotes']
MD_EXTENSIONS = ['codehilite','extra','toc']
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream']
@ -56,10 +56,21 @@ I18N_SUBSITES = {
'locale':'nl.UTF-8'
}
}
#Options for plugins
#Our custom events plugin
PLUGIN_EVENTS = {
'ics_calendars': ['events.ics', 'curriculum.ics'],
'default_location' : '',
'calendar_per_category': False
}
#Dateish plugin settings
DATEISH_PROPERTIES = ['event_start', 'event_end']
#Thumbnailer plugin settings
IMAGE_PATH ="images"
THUMBNAIL_KEEP_NAME = True
THUMBNAIL_DIR ="images"
THUMBNAIL_SIZES = {'thumb':'200x?', 'thumb2x':'400x?'}