1
0
mirror of https://github.com/danog/gojekyll.git synced 2024-12-02 16:27:46 +01:00
gojekyll/commands/testdata/site/collections.md

22 lines
394 B
Markdown
Raw Normal View History

2017-07-26 16:01:26 +02:00
---
---
## 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>