Left: | ||
Right: |
OLD | NEW |
---|---|
(Empty) | |
1 template = empty | |
2 product = foo | |
3 title = test_metadata | |
4 tags = popular, bar | |
5 <h1> Unfiltered </h1> | |
6 <ul> | |
7 {%- for unfiltered_page in get_pages_metadata() -%} | |
8 <li>{{ unfiltered_page }} </li> | |
9 {%- endfor %} | |
10 </ul> | |
11 | |
12 <h1> Filtered </h1> | |
13 <ul> | |
14 {%- for page in get_pages_metadata({'tags': 'popular, bar'}) -%} | |
Vasily Kuznetsov
2017/01/11 10:52:44
I see you changed the API a little from what is de
Jon Sonesen
2017/01/11 17:37:04
Acknowledged.
| |
15 <li> {{ page }} </li> | |
16 {%- endfor %} | |
17 </ul> | |
OLD | NEW |