annotate tests/bakes/test_archives.yaml @ 1195:ae9387338db1 draft default tip

admin: add option to publish immediately
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 30 Dec 2022 16:48:04 -0800
parents 45ad976712ec
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
733
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
1 ---
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
2 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 733
diff changeset
3 templates/_year.html: |
733
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
4 Posts in {{year}}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
5 {% for post in pagination.posts -%}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
6 {{post.url}}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
7 {% endfor %}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
8 posts/2015-12-01_post0.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
9 posts/2016-01-01_post1.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
10 posts/2016-01-02_post2.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
11 posts/2016-01-03_post3.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
12 posts/2016-01-04_post4.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
13 posts/2016-01-05_post5.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
14 posts/2016-01-06_post6.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
15 posts/2016-01-07_post7.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
16 outfiles:
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
17 archives/2016.html: |
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
18 Posts in 2016
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
19 /2016/01/07/post7.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
20 /2016/01/06/post6.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
21 /2016/01/05/post5.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
22 /2016/01/04/post4.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
23 /2016/01/03/post3.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
24 archives/2016/2.html: |
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
25 Posts in 2016
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
26 /2016/01/02/post2.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
27 /2016/01/01/post1.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
28 ---
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
29 in:
979
45ad976712ec tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents: 733
diff changeset
30 templates/_year.html: |
733
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
31 Posts in {{year}}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
32 {% for post in archives -%}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
33 {{post.url}}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
34 {% endfor %}
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
35 posts/2015-12-01_post0.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
36 posts/2016-01-01_post1.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
37 posts/2016-01-02_post2.html: ''
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
38 outfiles:
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
39 archives/2016.html: |
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
40 Posts in 2016
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
41 /2016/01/01/post1.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
42 /2016/01/02/post2.html
40aaec6d1d85 tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff changeset
43