Mercurial > piecrust2
view piecrust/resources/theme/templates/partial_post.html @ 39:2f717f961996
Better error reporting and cache validation.
Fix the processor pipeline in the preview server.
Move the `pages` route to first position.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 21 Aug 2014 22:28:22 -0700 |
parents | 485682a6de50 |
children | 9cc91a3d6862 |
line wrap: on
line source
<article> <header> <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> <small>{{ post.date }} {% if post.tags %} in {% for t in post.tags %} <a href="{{ pctagurl(t) }}">{{ t }}</a>{% if not loop.last %}, {% endif %} {% endfor %} {% endif %} {% if post.category %} | <a href="{{ pccaturl(post.category) }}">{{ post.category }}</a> {% endif %} </small> </header> <section> {{ post.content|raw }} </section> </article>