Mercurial > piecrust2
comparison piecrust/resources/theme/_content/templates/partial_post.html @ 3:f485ba500df3
Gigantic change to basically make PieCrust 2 vaguely functional.
- Serving works, with debug window.
- Baking works, multi-threading, with dependency handling.
- Various things not implemented yet.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 10 Aug 2014 23:43:16 -0700 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:40fa08b261b9 | 3:f485ba500df3 |
---|---|
1 <article> | |
2 <header> | |
3 <h2><a href="{{ post.url }}">{{ post.title }}</a></h2> | |
4 <small>{{ post.date }} | |
5 {% if post.tags %} | |
6 in | |
7 {% for t in post.tags %} | |
8 <a href="{{ pctagurl(t) }}">{{ t }}</a>{% if not loop.last %}, {% endif %} | |
9 {% endfor %} | |
10 {% endif %} | |
11 {% if post.category %} | |
12 | <a href="{{ pccaturl(post.category) }}">{{ post.category }}</a> | |
13 {% endif %} | |
14 </small> | |
15 </header> | |
16 <section> | |
17 {{ post.content|raw }} | |
18 </section> | |
19 </article> |