Mercurial > piecrust2
comparison tests/bakes/test_simple_categories.yaml @ 397:879b6b5647a8
tests: Move all bakes/cli/servings tests files to have a YAML extension.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 18 May 2015 15:48:45 -0700 |
parents | tests/bakes/test_simple_categories.bake@76c838453dbe |
children | 7705b3d981ca |
comparison
equal
deleted
inserted
replaced
396:dc0988d937b3 | 397:879b6b5647a8 |
---|---|
1 --- | |
2 config: | |
3 site: | |
4 category_url: cat/%category% | |
5 in: | |
6 posts/2015-03-01_post01.md: | | |
7 --- | |
8 title: Post 01 | |
9 category: foo | |
10 --- | |
11 posts/2015-03-02_post02.md: | | |
12 --- | |
13 title: Post 02 | |
14 category: bar | |
15 --- | |
16 posts/2015-03-03_post03.md: | | |
17 --- | |
18 title: Post 03 | |
19 category: foo | |
20 --- | |
21 pages/_category.md: | | |
22 Pages in {{category}} | |
23 {% for p in pagination.posts -%} | |
24 {{p.title}} | |
25 {% endfor %} | |
26 pages/_index.md: '' | |
27 out: | |
28 index.html: '' | |
29 '2015': | |
30 '03': | |
31 '01': | |
32 post01.html: '' | |
33 '02': | |
34 post02.html: '' | |
35 '03': | |
36 post03.html: '' | |
37 cat: | |
38 foo.html: | | |
39 Pages in foo | |
40 Post 03 | |
41 Post 01 | |
42 bar.html: | | |
43 Pages in bar | |
44 Post 02 | |
45 |