Mercurial > piecrust2
annotate tests/bakes/test_assets.yaml @ 473:eb3ace870708 2.0.0a13
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Added unit tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Tue, 14 Jul 2015 23:59:08 -0700 |
parents | |
children | 45ad976712ec |
rev | line source |
---|---|
473
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 --- |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 in: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 posts/2010-01-01_post1-assets/blah.png: 'fake image' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 posts/2010-01-01_post1.md: 'my image: {{assets.blah}}' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 pages/_index.md: 'something' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 out: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 '2010': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 '01': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
9 '01': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
10 post1.html: 'my image: /2010/01/01/post1/blah.png' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
11 post1: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
12 blah.png: 'fake image' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
13 index.html: 'something' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
14 --- |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
15 config: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
16 site: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
17 pretty_urls: true |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
18 in: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
19 posts/2010-01-01_post1-assets/blah.png: 'fake image' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
20 posts/2010-01-01_post1.md: 'my image: {{assets.blah}}' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
21 pages/_index.md: 'something' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
22 out: |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
23 '2010': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
24 '01': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
25 '01': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
26 'post1': |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
27 index.html: 'my image: /2010/01/01/post1/blah.png' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
28 blah.png: 'fake image' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
29 index.html: 'something' |
eb3ace870708
bake: Fix a bug with copying assets when `pretty_urls` are disabled.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
30 |