Tags
{% assign all_terms = "" %} {% for doc in site.documents %}{% for t in doc.tags %}{% assign all_terms = all_terms | append: "|" | append: t | downcase %}{% endfor %}{% for c in doc.categories %}{% assign all_terms = all_terms | append: "|" | append: c | downcase %}{% endfor %}{% endfor %}
-
{% for term in terms %}{% if term != "" %}
- {{ term }} {% endif %}{% endfor %}
{% for term in terms %}{% if term != "" %}
{{ term }}
-
{% for doc in site.documents %}{% assign hit = false %}{% for t in doc.tags %}{% assign tl = t | downcase %}{% if tl == term %}{% assign hit = true %}{% endif %}{% endfor %}{% for c in doc.categories %}{% assign cl = c | downcase %}{% if cl == term %}{% assign hit = true %}{% endif %}{% endfor %}{% if hit %}
- {{ doc.title | default: doc.url }} {% endif %}{% endfor %}
{% endif %}{% endfor %}