view tests/bakes/test_data_provider.bake @ 374:fa3ee8a8ee2d

serve: Split the server code in a couple modules inside a `serving` package. This makes the `serve` command's code a bit more removed from implementation details, and paves the way for the CMS mode.
author Ludovic Chabant <ludovic@chabant.com>
date Thu, 07 May 2015 21:37:38 -0700
parents 4b1019bb2533
children
line wrap: on
line source

---
in:
    pages/foo.md: |
        Foo!
    pages/bar.md: |
        Bar!
    pages/allpages.md: |
        {% for p in site.pages -%}
        {{p.url}}
        {% endfor %}
outfiles:
    allpages.html: |
        /
        /allpages.html
        /bar.html
        /foo.html