Sha256: 65bab9b110b5de361146ba8bec76e05e9f7d9d8e9a495045a1dde7015dd2db8e

Contents?: true

Size: 1.24 KB

Versions: 18

Compression:

Stored size: 1.24 KB

Contents

{% case site.tag_archive.type %}
  {% when "liquid" %}
    {% assign path_type = "#" %}
  {% when "jekyll-archives" %}
    {% assign path_type = nil %}
{% endcase %}

{% if site.tag_archive.path %}
  {% comment %}
    <!-- Sort alphabetically regardless of case e.g. a B c d E -->
    <!-- modified from http://www.codeofclimber.ru/2015/sorting-site-tags-in-jekyll/ -->
  {% endcomment %}
  {% capture page_tags %}{% for tag in page.tags %}{{ tag | downcase }}#{{ tag }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}
  {% assign tag_hashes = (page_tags | split: ',' | sort:0) %}

  <p class="page__taxonomy">
    <strong><i class="fa fa-fw fa-tags" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].tags_label | default: "Tags:" }} </strong>
    <span itemprop="keywords">
    {% for hash in tag_hashes %}
      {% assign keyValue = hash | split: '#' %}
      {% capture tag_word %}{{ keyValue[1] | strip_newlines }}{% endcapture %}
      <a href="{{ tag_word | slugify | prepend: path_type | prepend: site.tag_archive.path | absolute_url }}" class="page__taxonomy-item" rel="tag">{{ tag_word }}</a>{% unless forloop.last %}<span class="sep">, </span>{% endunless %}
    {% endfor %}
    </span>
  </p>
{% endif %}

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
minimal-mistakes-jekyll-4.5.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.5.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.4.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.4.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.3.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.3.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.2.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.2.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.2.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.1.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.10 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.9 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.8 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.7 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.6 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.5 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.4 _includes/tag-list.html
minimal-mistakes-jekyll-4.0.3 _includes/tag-list.html