Mercurial > piecrust2
view tests/bakes/test_simple.yaml @ 853:f070a4fc033c
core: Continue PieCrust3 refactor, simplify pages.
The asset pipeline is still the only function pipeline at this point.
* No more `QualifiedPage`, and several other pieces of code deleted.
* Data providers are simpler and more focused. For instance, the page iterator
doesn't try to support other types of items.
* Route parameters are proper known source metadata to remove the confusion
between the two.
* Make the baker and pipeline more correctly manage records and record
histories.
* Add support for record collapsing and deleting stale outputs in the asset
pipeline.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 21 May 2017 00:06:59 -0700 |
parents | 60b6c1406fdc |
children | 45ad976712ec |
line wrap: on
line source
--- in: posts/2010-01-01_post1.md: 'post one' pages/about.md: 'URL: {{page.url}}' pages/_index.md: 'something' out: '2010': '01': '01': post1.html: 'post one' about.html: 'URL: /about.html' index.html: 'something' --- config: site: root: /whatever in: posts/2010-01-01_post1.md: 'post one' pages/about.md: 'URL: {{page.url}}' pages/_index.md: 'something' out: '2010': '01': '01': post1.html: 'post one' about.html: 'URL: /whatever/about.html' index.html: 'something' --- in: pages/foo.md: | This page is {{page.url}} outfiles: foo.html: | This page is /foo.html --- config: site: author: Amélie Poulain in: pages/foo.md: 'Site by {{site.author}}' outfiles: foo.html: 'Site by Amélie Poulain'