view tests/bakes/test_data_provider.yaml @ 419:6801ad5aa1d4

internal: Optimize page segments rendering. * Don't create the page data up-front, since it's wasted work if the page has cached rendered segments. * Add a performance counter for data building.
author Ludovic Chabant <ludovic@chabant.com>
date Sat, 20 Jun 2015 23:25:38 -0700
parents 879b6b5647a8
children 894d286b348f
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