view tests/servings/test_archives.yaml @ 911:f2b75e4be981

internal: Use pickle for caching things on disk. This is just easier and lets us use proper classes instead of converting to/from dictionaries.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 23 Jul 2017 18:03:21 -0700
parents 09115f0900f0
children 45ad976712ec
line wrap: on
line source

---
url: /archives/2016.html
in:
    pages/_year.html: |
        Posts in {{year}}
        {% for post in pagination.posts -%}
        {{post.url}}
        {% endfor %}
    posts/2015-12-01_post0.html: ''
    posts/2016-01-01_post1.html: ''
    posts/2016-01-02_post2.html: ''
out: |
    Posts in 2016
    /2016/01/02/post2.html
    /2016/01/01/post1.html