view tests/bakes/test_assets.yaml @ 1194:09d5c233e840 draft

sources: Fix bug checking config setting.
author Ludovic Chabant <ludovic@chabant.com>
date Fri, 30 Dec 2022 16:49:32 -0800
parents 45ad976712ec
children
line wrap: on
line source

---
in:
    posts/2010-01-01_post1-assets/blah.png: 'fake image'
    posts/2010-01-01_post1.html: 'my image: {{assets.blah}}'
    pages/_index.html: 'something'
outfiles:
    2010/01/01/post1.html: 'my image: /2010/01/01/post1/blah.png'
    2010/01/01/post1/blah.png: 'fake image'
    index.html: 'something'
---
config:
    site:
        pretty_urls: true
in:
    posts/2010-01-01_post1-assets/blah.png: 'fake image'
    posts/2010-01-01_post1.html: 'my image: {{assets.blah}}'
    pages/_index.html: 'something'
outfiles:
    2010/01/01/post1/index.html: 'my image: /2010/01/01/post1/blah.png'
    2010/01/01/post1/blah.png: 'fake image'
    index.html: 'something'