view tests/servings/test_archives.yaml @ 830:a12ad254176e

Renamed buildPageAssetor to buildAssetor
author Ben Artin <ben@artins.org>
date Wed, 11 Jan 2017 23:56:51 -0500
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