Sha256: 26a97fcacbff47680f6319bbdea60785b6e690bc314561a9d71a36637c368abd
Contents?: true
Size: 628 Bytes
Versions: 4
Compression:
Stored size: 628 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="{{ tags_page.url | relative_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
4 entries across 4 versions & 1 rubygems