Mercurial > piecrust2
view tests/procs/test_sitemap.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 | 62274d805a6e |
children |
line wrap: on
line source
--- in: assets/sitemap.sitemap: | autogen: [pages, theme_pages] pages/foo.md: This is a foo outfiles: sitemap.xml: | <?xml version="1.0" encoding="utf-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>/foo.html</loc> <lastmod>%test_time_iso8601%</lastmod> </url> <url> <loc>/</loc> <lastmod>%test_time_iso8601%</lastmod> </url> </urlset> --- in: assets/sitemap.sitemap: | autogen: [pages] pages/foo.md: | --- sitemap: changefreq: monthly priority: 0.8 --- This is a foo outfiles: sitemap.xml: | <?xml version="1.0" encoding="utf-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <url> <loc>/foo.html</loc> <lastmod>%test_time_iso8601%</lastmod> <changefreq>monthly</changefreq> <priority>0.8</priority> </url> </urlset>