Files
website/_includes/tag-map.md
T
Andrew Chen f6e51e6611 [glossary] Glossary MVP (#4865)
* [glossary] Glossary MVP

* resolve conflict

* initial pass at includable glossary data

* tag to term mapping

* Change StatefulSets to singular, StatefulSet

* revise glossary style guide, move

* make descriptions plural
2017-08-24 10:51:59 -07:00

508 B

{% 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 %}