Mercurial > piecrust2
comparison piecrust/resources/theme/pages/_index.html @ 1128:6ab1299c1058
theme: Fix quickstart message formatting.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 28 Feb 2018 20:20:48 -0800 |
parents | a1bbe66cba03 |
children |
comparison
equal
deleted
inserted
replaced
1127:4cc020ff2537 | 1128:6ab1299c1058 |
---|---|
1 --- | 1 --- |
2 title: | 2 title: |
3 format: none | 3 format: markdown |
4 --- | 4 --- |
5 | 5 |
6 {% if pagination.has_posts %} | 6 {% if pagination.has_posts %} |
7 <section> | 7 <section> |
8 {% for post in pagination.posts %} | 8 {% for post in pagination.posts %} |
13 {% if pagination.prev_page %}<div class="prev"><a href="{{ pagination.prev_page }}">Next Posts</a></div>{% endif %} | 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 %} | 14 {% if pagination.next_page %}<div class="next"><a href="{{ pagination.next_page }}">Previous Posts</a></div>{% endif %} |
15 </section> | 15 </section> |
16 {% endif %} | 16 {% endif %} |
17 | 17 |
18 | |
19 <--markdown--> | |
20 | 18 |
21 {% if not pagination.has_posts and not site.hide_quickstart %} | 19 {% if not pagination.has_posts and not site.hide_quickstart %} |
22 | 20 |
23 ## Quick Start | 21 ## Quick Start |
24 | 22 |
55 | 53 |
56 | 54 |
57 [piecrust]: {{ piecrust.url }} | 55 [piecrust]: {{ piecrust.url }} |
58 [doc]: http://bolt80.com/piecrust/ | 56 [doc]: http://bolt80.com/piecrust/ |
59 [slug]: http://en.wikipedia.org/wiki/Clean_URL#Slug | 57 [slug]: http://en.wikipedia.org/wiki/Clean_URL#Slug |
58 | |
60 {% endif %} | 59 {% endif %} |
61 | 60 |