6 Commits

Author SHA1 Message Date
fb53d674a7 gallery: Add comment per image support 2014-06-01 14:19:43 +02:00
0574098ee5 gallery: Add support for non-english captions 2014-06-01 10:33:37 +02:00
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
Ricardo Band
dacc64023d added sorting of images
The images are now sorted by their filename.
2014-01-07 21:16:06 +01:00
zhouji
768e02b2d5 Update signal names for Pelican 3.2+ 2013-09-27 16:28:46 +08:00
Alexis Métaireau
b01cb35645 move the gallery out of pelicanext 2013-08-28 14:13:50 +02:00