forked from varia/varia.website
enabled thumbnailer plugin
This commit is contained in:
parent
dbbf548f27
commit
0a66ae863b
@ -31,7 +31,7 @@ DEFAULT_PAGINATION = 25
|
|||||||
|
|
||||||
# Uncomment following line if you want document-relative URLs when developing
|
# Uncomment following line if you want document-relative URLs when developing
|
||||||
PLUGIN_PATHS = ['./pelican-plugins', './plugins-custom']
|
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']
|
MD_EXTENSIONS = ['codehilite','extra','toc']
|
||||||
|
|
||||||
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream']
|
STATIC_PATHS = ['extra/favicon.ico', 'images', 'pdfs', 'stream']
|
||||||
@ -56,10 +56,21 @@ I18N_SUBSITES = {
|
|||||||
'locale':'nl.UTF-8'
|
'locale':'nl.UTF-8'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Options for plugins
|
||||||
|
|
||||||
|
#Our custom events plugin
|
||||||
PLUGIN_EVENTS = {
|
PLUGIN_EVENTS = {
|
||||||
'ics_calendars': ['events.ics', 'curriculum.ics'],
|
'ics_calendars': ['events.ics', 'curriculum.ics'],
|
||||||
'default_location' : '',
|
'default_location' : '',
|
||||||
'calendar_per_category': False
|
'calendar_per_category': False
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#Dateish plugin settings
|
||||||
DATEISH_PROPERTIES = ['event_start', 'event_end']
|
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…
Reference in New Issue
Block a user