view tests/bakes/test_multiblog.yaml @ 860:c71472e6537f

refactor: Get the processing loop in the server functional again.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 08 Jun 2017 08:51:27 -0700
parents 3f01f63b7247
children 45ad976712ec
line wrap: on
line source

---
config:
    site:
        blogs: [one, two]
in:
    posts/one/2016-01-01_post1.html: ''
    posts/two/2016-01-02_post2.html: ''
    pages/foo-one.html: "Link: {{pconeposturl(2016, 01, 01, 'post1')}}"
    pages/foo-two.html: "Link: {{pctwoposturl(2016, 01, 02, 'post2')}}"
outfiles:
    foo-one.html: "Link: /one/2016/01/01/post1.html"
    foo-two.html: "Link: /two/2016/01/02/post2.html"
---
config:
    site:
        blogs: [one, two]
    one:
        func_prefix: pc
    two:
        func_prefix: pc
in:
    posts/one/2016-01-01_post1.html: ''
    posts/two/2016-01-02_post2.html: ''
    pages/foo-one.html: "---\nblog: one\n---\nLink: {{pcposturl(2016, 01, 01, 'post1', 'one')}}"
    pages/foo-two.html: "---\nblog: two\n---\nLink: {{pcposturl(2016, 01, 02, 'post2', 'two')}}"
outfiles:
    foo-one.html: "Link: /one/2016/01/01/post1.html"
    foo-two.html: "Link: /two/2016/01/02/post2.html"