Mercurial > piecrust2
view tests/bakes/test_special_root.yaml @ 1186:2ead9dcb6bec
prepare: Fix scaffolding refactor code.
For some reason the previous commit was missing some changes.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Fri, 23 Oct 2020 23:50:42 -0700 |
parents | 978ed6deea91 |
children |
line wrap: on
line source
--- config: site: root: /~john/public/ in: pages/about.html: 'URL: {{page.url}}, LINK: {{pcurl("missing")}}' pages/_index.html: 'URL: {{page.url}}' outfiles: "{py>=3.7}about.html": 'URL: /~john/public/about.html, LINK: /~john/public/missing.html' "{py>=3.7}index.html": 'URL: /~john/public/' "{py<3.7}about.html": 'URL: /%7Ejohn/public/about.html, LINK: /%7Ejohn/public/missing.html' "{py<3.7}index.html": 'URL: /%7Ejohn/public/' --- config: site: pretty_urls: true in: pages/users/~john.html: 'URL: {{page.url}}' pages/users/~john/bio.html: 'URL: {{page.url}}' outfiles: "{py>=3.7}users/~john/index.html": 'URL: /users/~john' "{py>=3.7}users/~john/bio/index.html": 'URL: /users/~john/bio' "{py<3.7}users/~john/index.html": 'URL: /users/%7Ejohn' "{py<3.7}users/~john/bio/index.html": 'URL: /users/%7Ejohn/bio'