Mercurial > piecrust2
annotate tests/bakes/test_multiblog.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 |
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 config: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 site: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 blogs: [one, two] |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 in: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 posts/one/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
|
7 posts/two/2016-01-02_post2.html: '' |
734
3f01f63b7247
routing: Correctly call the underlying route template function from a merged one.
Ludovic Chabant <ludovic@chabant.com>
parents:
733
diff
changeset
|
8 pages/foo-one.html: "Link: {{pconeposturl(2016, 01, 01, 'post1')}}" |
3f01f63b7247
routing: Correctly call the underlying route template function from a merged one.
Ludovic Chabant <ludovic@chabant.com>
parents:
733
diff
changeset
|
9 pages/foo-two.html: "Link: {{pctwoposturl(2016, 01, 02, 'post2')}}" |
733
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 outfiles: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 foo-one.html: "Link: /one/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
|
12 foo-two.html: "Link: /two/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
|
13 --- |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 config: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 site: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 blogs: [one, two] |
734
3f01f63b7247
routing: Correctly call the underlying route template function from a merged one.
Ludovic Chabant <ludovic@chabant.com>
parents:
733
diff
changeset
|
17 one: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
734
diff
changeset
|
18 func_prefix: pc1 |
734
3f01f63b7247
routing: Correctly call the underlying route template function from a merged one.
Ludovic Chabant <ludovic@chabant.com>
parents:
733
diff
changeset
|
19 two: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
734
diff
changeset
|
20 func_prefix: pc2 |
733
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
21 in: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
22 posts/one/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
|
23 posts/two/2016-01-02_post2.html: '' |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
734
diff
changeset
|
24 pages/foo-one.html: "---\nblog: one\n---\nLink: {{pc1posturl(2016, 01, 01, 'post1', 'one')}}" |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
734
diff
changeset
|
25 pages/foo-two.html: "---\nblog: two\n---\nLink: {{pc2posturl(2016, 01, 02, 'post2', 'two')}}" |
733
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
26 outfiles: |
40aaec6d1d85
tests: Add some tests for blog archives and multi-blog features.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
27 foo-one.html: "Link: /one/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 foo-two.html: "Link: /two/2016/01/02/post2.html" |