diff --git a/pelican-bootstrap3/templates/article.html b/pelican-bootstrap3/templates/article.html index e1f7f00..a8e7703 100644 --- a/pelican-bootstrap3/templates/article.html +++ b/pelican-bootstrap3/templates/article.html @@ -37,6 +37,24 @@ {{ article.content }} + + {% if article.album %} + + + {% for image in article.galleryimages %} + {% if article.gallerycaptions.get(image) %} + + {% else %} + + {% endif %} + {% if (loop.index % GALLERY_IMG_PER_ROW) == 0 %} + + + {% endif %} + {% endfor %} + + + {% endif %} {% include 'includes/related-posts.html' %}