3 Commits

Author SHA1 Message Date
a8830b8825 gallery: Add per-image caption/title support.
To add caption/title to a picture, in your article simply add a
'gallerycaptions' tag in your metadata, whose value is a dictionnary of
(filename, title) tuples.

Example:
gallery: <Gallery Name>
gallerycaptions: { 'image_name1': 'caption1', 'image_name4': 'caption4', }

Then you will be able to use article.gallerycaptions.get('image_nameX')
in the templates, to retrieve the title associated to the image.
2014-05-29 15:45:11 +02:00
blog derek
8a846c5888 removed code example from article.html example because it referenced page-only commands 2013-09-13 04:46:07 -07:00
Alexis Métaireau
b01cb35645 move the gallery out of pelicanext 2013-08-28 14:13:50 +02:00