Improve tags layout template

This commit is contained in:
Takumi Sueda
2022-12-14 02:10:52 +09:00
parent 9927d52aeb
commit c08424aa55
2 changed files with 11 additions and 9 deletions

View File

@@ -19,6 +19,8 @@ layout: archive
{% endfor %}
</ul>
{% comment %} Make sure that all collections are listed in the _config.yml. {% endcomment %}
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for label in site.collections_order %}
{% assign collection = site.collections | where: "label", label | first %}