Mercurial > piecrust2
annotate tests/bakes/test_linker.yaml @ 798:6997ab31fc2d 2.0.0rc2
cm: Regenerate the CHANGELOG.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Wed, 07 Sep 2016 23:15:52 -0700 |
parents | 27b10024f8d8 |
children | 45ad976712ec |
rev | line source |
---|---|
401
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 in: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 pages/foo.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 {%for c in family.children%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 {{c.title}} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 {%endfor%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 outfiles: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 foo.html: '' |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 in: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 pages/foo.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 {%for c in family.children-%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 {{c.title}} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 {%endfor%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 pages/foo/one.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
17 title: One |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
18 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
19 pages/foo/two.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
20 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
21 title: Two |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
22 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
23 outfiles: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
24 foo.html: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
25 One |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
26 Two |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
27 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
28 in: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
29 pages/foo.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
30 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
31 title: Foo |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
32 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
33 {%for c in family.siblings-%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
34 {{c.title}}{%if c.is_self%} SELFIE!{%endif%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
35 {%endfor%} |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
36 pages/bar.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
37 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
38 title: Bar |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
39 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
40 pages/other.md: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
41 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
42 title: Other |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
43 --- |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
44 outfiles: |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
45 foo.html: | |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
46 Bar |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
47 Foo SELFIE! |
8e1e55ad35fb
linker: Fix error when trying to list non-existing children.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
48 Other |
404
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
49 --- |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
50 in: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
51 pages/foo.md: "---\ntitle: Foo\n---\n" |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
52 pages/foo/one.md: | |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
53 {{family.parent.url}} {{family.parent.title}} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
54 outfiles: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
55 foo/one.html: /foo.html Foo |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
56 --- |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
57 in: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
58 pages/foo.md: "---\ntitle: Foo\n---\n" |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
59 pages/foo/bar.md: "---\ntitle: Bar\n---\n" |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
60 pages/foo/bar/one.md: | |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
61 {{family.parent.url}} {{family.parent.title}} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
62 {{family.parent.parent.url}} {{family.parent.parent.title}} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
63 outfiles: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
64 foo/bar/one.html: | |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
65 /foo/bar.html Bar |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
66 /foo.html Foo |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
67 --- |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
68 in: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
69 pages/foo.md: "---\ntitle: Foo\n---\n" |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
70 pages/foo/bar.md: "---\ntitle: Bar\n---\n" |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
71 pages/foo/bar/one.md: | |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
72 {% for p in family.ancestors -%} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
73 {{p.url}} {{p.title}} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
74 {% endfor %} |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
75 outfiles: |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
76 foo/bar/one.html: | |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
77 /foo/bar.html Bar |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
78 /foo.html Foo |
27b10024f8d8
linker: Add ability to return the parent and ancestors of a page.
Ludovic Chabant <ludovic@chabant.com>
parents:
401
diff
changeset
|
79 |