summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap/templates/gallery.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'nikola/data/themes/bootstrap/templates/gallery.tmpl')
-rw-r--r--nikola/data/themes/bootstrap/templates/gallery.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/nikola/data/themes/bootstrap/templates/gallery.tmpl b/nikola/data/themes/bootstrap/templates/gallery.tmpl
index 0dd5eea..7b0d505 100644
--- a/nikola/data/themes/bootstrap/templates/gallery.tmpl
+++ b/nikola/data/themes/bootstrap/templates/gallery.tmpl
@@ -14,14 +14,17 @@
${text}
</p>
%endif
+ %if folders:
<ul>
% for folder, ftitle in folders:
<li><a href="${folder}"><i
class="icon-folder-open"></i>&nbsp;${ftitle}</a></li>
% endfor
</ul>
+ %endif
<div id="gallery_container"></div>
+ %if photo_array:
<noscript>
<ul class="thumbnails">
%for image in photo_array:
@@ -30,6 +33,7 @@
%endfor
</ul>
</noscript>
+ %endif
%if enable_comments:
${comments.comment_form(None, permalink, title)}
%endif