Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 508 Bytes

tag-map.md

File metadata and controls

15 lines (8 loc) · 508 Bytes

{% assign glossary_terms = site.data.glossary | where_exp: "term", "term.id != '_example'" %}

{% assign tag_map = "" | split: " " %}

{% for tag in site.data.canonical-tags %}

{% assign term_list = glossary_terms | where_exp:"term", "term.tags contains tag" | map: "id" %}

{% assign tag_obj = "" | split: " " | push: tag | push: term_list %}

{% assign tag_map = tag_map | push: tag_obj %}

{% endfor %}