comparison tests/bakes/test_archives.yaml @ 733:40aaec6d1d85

tests: Add some tests for blog archives and multi-blog features.
author Ludovic Chabant <ludovic@chabant.com>
date Wed, 01 Jun 2016 22:11:51 -0700
parents
children 45ad976712ec
comparison
equal deleted inserted replaced
732:dfd9f5ee4622 733:40aaec6d1d85
1 ---
2 in:
3 pages/_year.html: |
4 Posts in {{year}}
5 {% for post in pagination.posts -%}
6 {{post.url}}
7 {% endfor %}
8 posts/2015-12-01_post0.html: ''
9 posts/2016-01-01_post1.html: ''
10 posts/2016-01-02_post2.html: ''
11 posts/2016-01-03_post3.html: ''
12 posts/2016-01-04_post4.html: ''
13 posts/2016-01-05_post5.html: ''
14 posts/2016-01-06_post6.html: ''
15 posts/2016-01-07_post7.html: ''
16 outfiles:
17 archives/2016.html: |
18 Posts in 2016
19 /2016/01/07/post7.html
20 /2016/01/06/post6.html
21 /2016/01/05/post5.html
22 /2016/01/04/post4.html
23 /2016/01/03/post3.html
24 archives/2016/2.html: |
25 Posts in 2016
26 /2016/01/02/post2.html
27 /2016/01/01/post1.html
28 ---
29 in:
30 pages/_year.html: |
31 Posts in {{year}}
32 {% for post in archives -%}
33 {{post.url}}
34 {% endfor %}
35 posts/2015-12-01_post0.html: ''
36 posts/2016-01-01_post1.html: ''
37 posts/2016-01-02_post2.html: ''
38 outfiles:
39 archives/2016.html: |
40 Posts in 2016
41 /2016/01/01/post1.html
42 /2016/01/02/post2.html
43