hacks-guide-minimal-mistake.../_layouts/collection.html
Michael Rose 467a748815 Configure entries layout list or grid
Switch between list or grid view by adding `entries_layout` to YAML Front Matter.
2018-03-20 14:38:55 -04:00

9 lines
237 B
HTML

---
layout: archive
---
{{ content }}
<div class="entries-{{ page.entries_layout }}">
{% include documents-collection.html collection=page.collection sort_by=page.sort_by sort_order=page.sort_order type=page.entries_layout %}
</div>