Mercurial > piecrust2
annotate tests/bakes/test_data_provider.yaml @ 763:f6a13dba38d6
publish: Fix stupid typo.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Thu, 30 Jun 2016 22:39:33 -0700 |
parents | 42efc3634763 |
children | 45ad976712ec |
rev | line source |
---|---|
369
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 in: |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 pages/foo.md: | |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 Foo! |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 pages/bar.md: | |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 Bar! |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 pages/allpages.md: | |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 {% for p in site.pages -%} |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 {{p.url}} |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 {% endfor %} |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 outfiles: |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 allpages.html: | |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 /allpages.html |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 /bar.html |
4b1019bb2533
serve: Giant refactor to change how we handle data when serving pages.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 /foo.html |
681
894d286b348f
internal: Refactor config loading some more.
Ludovic Chabant <ludovic@chabant.com>
parents:
397
diff
changeset
|
16 / |
716
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
17 --- |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
18 in: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
19 posts/2016-06-01_one.md: "One!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
20 posts/2016-06-02_two.md: "Two!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
21 posts/2016-06-03_three.md: "Three!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
22 pages/_index.md: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
23 {% for p in blog.posts -%} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
24 {{p.url}} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
25 {% endfor %} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
26 outfiles: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
27 index.html: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
28 /2016/06/03/three.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
29 /2016/06/02/two.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
30 /2016/06/01/one.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
31 --- |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
32 config: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
33 blog: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
34 subtitle: "Forcing a Merged Mapping" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
35 in: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
36 posts/2016-06-01_one.md: "One!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
37 posts/2016-06-02_two.md: "Two!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
38 posts/2016-06-03_three.md: "Three!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
39 pages/_index.md: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
40 {{blog.subtitle}} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
41 {% for p in blog.posts -%} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
42 {{p.url}} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
43 {% endfor %} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
44 outfiles: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
45 index.html: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
46 Forcing a Merged Mapping |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
47 /2016/06/03/three.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
48 /2016/06/02/two.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
49 /2016/06/01/one.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
50 --- |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
51 config: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
52 site: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
53 blogs: [aaa, xyz] |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
54 in: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
55 posts/aaa/2016-06-01_one.md: "One!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
56 posts/aaa/2016-06-02_two.md: "Two!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
57 posts/xyz/2016-06-01_one-other.md: "One Other!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
58 posts/xyz/2016-06-02_two-other.md: "Two Other!" |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
59 pages/_index.md: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
60 {% for p in aaa.posts -%} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
61 {{p.url}} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
62 {% endfor %} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
63 {% for p in xyz.posts -%} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
64 {{p.url}} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
65 {% endfor %} |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
66 outfiles: |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
67 index.html: | |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
68 /aaa/2016/06/02/two.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
69 /aaa/2016/06/01/one.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
70 |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
71 /xyz/2016/06/02/two-other.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
72 /xyz/2016/06/01/one-other.html |
42efc3634763
tests: Add more tests for merged mappings.
Ludovic Chabant <ludovic@chabant.com>
parents:
681
diff
changeset
|
73 |