1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-11 17:19:39 +01:00
gojekyll/commands/testdata/site/collections.md
2017-07-26 10:17:53 -04:00

22 lines
394 B
Markdown

---
---
## Collections
<dl>
{% for c in site.collections %}
<dt> {{ c.label }}</dt>
{% for k in c %}{% if k != 'docs' %}
<dd>{{k}}={{c[k]}}
{% endif %}{% endfor %}
<dd>docs: <ul>
{% for p in c.docs %}
<li>{{ p.path }}
properties: {% for k in p %}{{k}} {% endfor %}
</li>
<pre>{{p.content | escape}}</pre>
{% endfor %}
</ul></dd>
{% endfor %}
</dl>