Mercurial > piecrust2
annotate tests/bakes/test_simple.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 |
---|---|
347
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
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:
541
diff
changeset
|
3 posts/2010-01-01_post1.html: 'post one' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
4 pages/about.html: 'URL: {{page.url}}' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
5 pages/_index.html: 'something' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
6 outfiles: |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
7 2010/01/01/post1.html: 'post one' |
347
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 about.html: 'URL: /about.html' |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 index.html: 'something' |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 --- |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 config: |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 site: |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 root: /whatever |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 in: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
15 posts/2010-01-01_post1.html: 'post one' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
16 pages/about.html: 'URL: {{page.url}}' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
17 pages/_index.html: 'something' |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
18 outfiles: |
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
19 2010/01/01/post1.html: 'post one' |
347
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
20 about.html: 'URL: /whatever/about.html' |
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
21 index.html: 'something' |
369
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
22 --- |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
23 in: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
24 pages/foo.html: | |
369
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
25 This page is {{page.url}} |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
26 outfiles: |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
27 foo.html: | |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
347
diff
changeset
|
28 This page is /foo.html |
541
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
29 --- |
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
30 config: |
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
31 site: |
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
32 author: Amélie Poulain |
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
33 in: |
979
45ad976712ec
tests: Big push to get the tests to pass again.
Ludovic Chabant <ludovic@chabant.com>
parents:
541
diff
changeset
|
34 pages/foo.html: 'Site by {{site.author}}' |
541
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
35 outfiles: |
60b6c1406fdc
tests: Check accented characters work in configurations.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
36 foo.html: 'Site by Amélie Poulain' |
347
76c838453dbe
tests: Support for YAML-based baking tests. Convert old code-based ones.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
37 |