Mercurial > piecrust2
view tests/bakes/test_archives.yaml @ 1136:5f97b5b59dfe
bake: Optimize cache handling for the baking process.
- Get rid of the 2-level pipeline runs... handle a single set of passes.
- Go back to load/render segments/layout passes for pages.
- Add descriptions of what each job batch does.
- Improve the taxonomy pipeline so it doesn't re-bake terms that don't need
to be re-baked.
- Simplify some of the code.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Mon, 23 Apr 2018 21:47:49 -0700 |
parents | 45ad976712ec |
children |
line wrap: on
line source
--- in: templates/_year.html: | Posts in {{year}} {% for post in pagination.posts -%} {{post.url}} {% endfor %} posts/2015-12-01_post0.html: '' posts/2016-01-01_post1.html: '' posts/2016-01-02_post2.html: '' posts/2016-01-03_post3.html: '' posts/2016-01-04_post4.html: '' posts/2016-01-05_post5.html: '' posts/2016-01-06_post6.html: '' posts/2016-01-07_post7.html: '' outfiles: archives/2016.html: | Posts in 2016 /2016/01/07/post7.html /2016/01/06/post6.html /2016/01/05/post5.html /2016/01/04/post4.html /2016/01/03/post3.html archives/2016/2.html: | Posts in 2016 /2016/01/02/post2.html /2016/01/01/post1.html --- in: templates/_year.html: | Posts in {{year}} {% for post in archives -%} {{post.url}} {% endfor %} posts/2015-12-01_post0.html: '' posts/2016-01-01_post1.html: '' posts/2016-01-02_post2.html: '' outfiles: archives/2016.html: | Posts in 2016 /2016/01/01/post1.html /2016/01/02/post2.html