This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if collection.all_tags.size > 1 %} | |
{% comment %} | |
Get all of the filter groups | |
{% endcomment %} | |
{% for tag in collection.all_tags %} | |
{% if tag contains '_' %} | |
{% assign splitTag = tag | split: '_' %} | |
{% unless filterTags contains splitTag.first %} | |
{% capture filterTags %}{{ filterTags }}+{{ splitTag.first }}{% endcapture %} |