view tests/bakes/test_special_root.yaml @ 1175:d0f86d9a9d40

wsgi: Better logging for the admin app.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 21 May 2020 21:55:41 -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'