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.tmpl8
1 files changed, 6 insertions, 2 deletions
diff --git a/nikola/data/themes/bootstrap/templates/gallery.tmpl b/nikola/data/themes/bootstrap/templates/gallery.tmpl
index 17ae61c..0dd5eea 100644
--- a/nikola/data/themes/bootstrap/templates/gallery.tmpl
+++ b/nikola/data/themes/bootstrap/templates/gallery.tmpl
@@ -6,14 +6,18 @@
<%block name="content">
${ui.bar(crumbs)}
+ %if title:
+ <h1>${title}</h1>
+ %endif
%if text:
<p>
${text}
</p>
%endif
<ul>
- % for folder in folders:
- <li><a href="${folder}"><i class="icon-folder-open"></i>&nbsp;${folder}</a></li>
+ % for folder, ftitle in folders:
+ <li><a href="${folder}"><i
+ class="icon-folder-open"></i>&nbsp;${ftitle}</a></li>
% endfor
</ul>