view tests/servings/test_archives.yaml @ 834:10c482d57c79

Allow an individual page to override pretty_urls in it config
author Ben Artin <ben@artins.org>
date Mon, 02 Jan 2017 20:33:57 -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