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>&nbsp;<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

Version Path
jekyll-theme-hydeout-4.0.0 _includes/post-tags.html
jekyll-theme-hydeout-3.7.1 _includes/post-tags.html
jekyll-theme-hydeout-3.7.0 _includes/post-tags.html
jekyll-theme-hydeout-3.6.0 _includes/post-tags.html
jekyll-theme-hydeout-3.5.3 _includes/post-tags.html
jekyll-theme-hydeout-3.5.2 _includes/post-tags.html
jekyll-theme-hydeout-3.5.1 _includes/post-tags.html
jekyll-theme-hydeout-3.5.0 _includes/post-tags.html
jekyll-theme-hydeout-3.4.3 _includes/post-tags.html
jekyll-theme-hydeout-3.4.2 _includes/post-tags.html
jekyll-theme-hydeout-3.4.1 _includes/post-tags.html
jekyll-theme-hydeout-3.4.0 _includes/post-tags.html
jekyll-theme-hydeout-3.3.1 _includes/post-tags.html
jekyll-theme-hydeout-3.3.0 _includes/post-tags.html
jekyll-theme-hydeout-3.2.0 _includes/post-tags.html
jekyll-theme-hydeout-3.1.3 _includes/post-tags.html