Sha256: 9a27d05feb5be39c014a67464499c6fa83cc9b2d6be9de7bec5d7891f893f071
Contents?: true
Size: 631 Bytes
Versions: 16
Compression:
Stored size: 631 Bytes
Contents
{% comment %} Check if we have a tags page active before linking to it. {% endcomment %} {% assign tags_page = false %} {% for node in site.pages %} {% if node.layout == "tags" %} {% assign tags_page = node %} {% endif %} {% endfor %} <div class="post-tags"> {% for tag in include.post.tags %} {% if tags_page %} <a href="{{ site.baseurl }}{{ tags_page.url }}#{{ tag | slugify }}"> {% else %}<span>{% endif %} <span class="icon"> {% include svg/tags.svg %} </span> <span class="tag-name">{{ tag }}</span> {% if tags_page %}</a>{% else %}</span>{% endif %} {% endfor %} </div>
Version data entries
16 entries across 16 versions & 1 rubygems