comparison piecrust/resources/theme/templates/default.html @ 140:63798c9e5a55

Display page tags with default theme.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 29 Nov 2014 15:33:26 -0800
parents 485682a6de50
children 9cc91a3d6862
comparison
equal deleted inserted replaced
139:2889d85b1d32 140:63798c9e5a55
72 <section id="main" role="main"> 72 <section id="main" role="main">
73 {% block main %} 73 {% block main %}
74 {% if page.title %} 74 {% if page.title %}
75 <h1 class="page-title">{{ page.title }}</h1> 75 <h1 class="page-title">{{ page.title }}</h1>
76 {% endif %} 76 {% endif %}
77 {% if page.tags %}
78 <div class="tags">
79 <span>Posted in</span>
80 {% for t in page.tags %}
81 <span class="tag"><a href="{{ pctagurl(t) }}">{{t}}</a>{% if not loop.last %}, {% endif %}</span>
82 {% endfor %}
83 </div>
84 {% endif %}
77 85
78 {{ content|raw }} 86 {{ content|raw }}
79 {% endblock %} 87 {% endblock %}
80 </section> 88 </section>
81 <footer> 89 <footer>