Mercurial > piecrust2
comparison piecrust/resources/theme/_content/pages/_category.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 --- | |
2 title: | |
3 format: none | |
4 --- | |
5 <h2>Posts in {{ category }}</h2> | |
6 | |
7 <section> | |
8 {% for post in pagination.posts %} | |
9 {% include 'partial_post.html' %} | |
10 {% endfor %} | |
11 </section> | |
12 <section> | |
13 {% if pagination.prev_page %}<div class="prev"><a href="{{ pagination.prev_page }}">Next Posts</a></div>{% endif %} | |
14 {% if pagination.next_page %}<div class="next"><a href="{{ pagination.next_page }}">Previous Posts</a></div>{% endif %} | |
15 </section> | |
16 |