Browse Source

enabled thumbnailer plugin

master
rra 7 years ago
parent
commit
0a66ae863b
  1. 13
      pelicanconf.py

13
pelicanconf.py

@ -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?'}

Loading…
Cancel
Save