view tests/bakes/test_special_root.yaml @ 1100:1ce67d2fae0a

routing: Fix URL generation bug with ugly URLs and index pages in sub-folders.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 17 Feb 2018 11:54:00 -0800
parents 45ad976712ec
children 978ed6deea91
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:
    about.html: 'URL: /%7Ejohn/public/about.html, LINK: /%7Ejohn/public/missing.html'
    index.html: 'URL: /%7Ejohn/public/'