Mercurial > piecrust2
view piecrust/resources/theme/templates/partial_post.html @ 388:3890353d3e5a 2.0.0a10
setup: Add `requirements.txt` to `MANIFEST.in` so it can be used by the setup.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 15 May 2015 23:41:52 -0700 |
parents | 9cc91a3d6862 |
children |
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|safe }} </section> </article>