Sha256: 908d3e48e002e285b7106d1bc78502efa9e8468bf99caaf4fc86bf2105e1c0b8

Contents?: true

Size: 1.21 KB

Versions: 20

Compression:

Stored size: 1.21 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 %}

  <p class="page__taxonomy">
    <strong><i class="fas 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 | relative_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

20 entries across 20 versions & 2 rubygems

Version Path
minimal-mistakes-jekyll-4.16.3 _includes/tag-list.html
minimal-mistakes-jekyll-4.16.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.16.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.16.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.15.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.15.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.15.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.14.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.14.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.14.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.13.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.12.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.12.1 _includes/tag-list.html
benimal-mistakes-jekyll-0.3.0 _includes/tag-list.html
benimal-mistakes-jekyll-0.2.0 _includes/tag-list.html
benimal-mistakes-jekyll-0.0.2 _includes/tag-list.html
benimal-mistakes-jekyll-0.0.1 _includes/tag-list.html
minimal-mistakes-jekyll-4.12.0 _includes/tag-list.html
minimal-mistakes-jekyll-4.11.2 _includes/tag-list.html
minimal-mistakes-jekyll-4.11.1 _includes/tag-list.html