1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-11-27 09:24:38 +01:00
gojekyll/testdata/example/collections.md
2017-07-02 12:09:15 -04:00

394 B

Collections

{% for c in site.collections %}
{{ c.label }}
{% for k in c %}{% if k != 'docs' %}
{{k}}={{c[k]}} {% endif %}{% endfor %}
docs:
    {% for p in c.docs %}
  • {{ p.path }} properties: {% for k in p %}{{k}} {% endfor %}
  • {{p.content | escape}}
    {% endfor %}
{% endfor %}