Skip to content
This repository has been archived by the owner on Mar 7, 2021. It is now read-only.

Latest commit

 

History

History
executable file
·
29 lines (27 loc) · 856 Bytes

index.md

File metadata and controls

executable file
·
29 lines (27 loc) · 856 Bytes
layout title permalink
default
home
/index.html
{{ site.name }}
{% assign categories = site.exhibit | group_by: "category" | sort: "name" %} {% for category in categories %}

{{ category.name }}

{% assign tagstring = '' %} {% for exhibit_item in site.exhibit %} {% if exhibit_item.category == category.name %} {% assign temptagstring = exhibit_item.tags | join: "," %} {% capture tagstring %}{{ tagstring }},{{ temptagstring }}{% endcapture %} {% endif %} {% endfor %} {% assign uniq_tags = tagstring | remove_first: "," | split: "," | uniq %}
{% for tag in uniq_tags %} {{ tag }} {% endfor %}
{% endfor %}