{% capture rawtags %}{% for doc in include.items %}{% for tag in doc.tags %}{{ tag }} {% endfor %}{% endfor %}{% endcapture %}
{% assign tags = rawtags | split: " " | uniq %}
{% assign num_tags = tags | size %}
{% if include.tag %}
{% if include.tag contains ":" %}
{% assign tag_namespace = include.tag | split: ":" | first %}
{% else %}
{% assign tag_namespace = "" %}
{% endif %}
{% endif %}
{% if num_tags > 0 %}
{% endif %}
{% if include.tag %}
{% assign tag_human = include.tag | split: ":" | last | replace: "_", " " %}
{% if tag_namespace != "" %}
{% assign namespace = site.tag_namespaces[include.tag_namespaces][tag_namespace] %}
{% endif %}
{% endif %}