summaryrefslogtreecommitdiffstats
path: root/nikola/data/themes/bootstrap/templates/gallery.tmpl
diff options
context:
space:
mode:
authorLibravatarAgustin Henze <tin@sluc.org.ar>2014-02-28 08:49:38 -0300
committerLibravatarAgustin Henze <tin@sluc.org.ar>2014-02-28 08:49:38 -0300
commit2828399ba5cbb14502b023d4de1ba02f13dd5055 (patch)
tree38012b6bacaa508ca56fb6f4ba87b912bb54b8c9 /nikola/data/themes/bootstrap/templates/gallery.tmpl
parentca94afc07df55cb7fc6fe3b4f3011877b7881195 (diff)
Imported Upstream version 6.3.0upstream/6.3.0
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>