Sha256: 0ab95c1b4ac21a9ca57eef22dd56e09eaea219135da813d5391bc0e9862ee76c

Contents?: true

Size: 543 Bytes

Versions: 4

Compression:

Stored size: 543 Bytes

Contents

{% assign tags = include.tags | split:'|' | sort | uniq %}

{% if include.tags.size > 0 %}
<footer>
  <div class="tag-list">
    {% if include.tags.size == 1 %}
      <div class="meta">Tag</div>
    {% elsif include.tags.size > 1 %}
      <div class="meta">Tags</div>
    {% endif %}

    {% for tag in tags %}
    <a class="button" href="{{site.baseurl}}/tags#{{tag}}">
      <p><i class="fa fa-tag fa-fw"></i> {{ tag }}</p>
    </a>
    {% endfor %}
  </div>
</footer>
{% else %}
<footer>
  <div class="tag-list"></div>
</footer>
{% endif %}

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
type-on-strap-0.5.3 _includes/tags_list.html
jekyll-theme-type-on-strap-4.0.2 _includes/tags_list.html
jekyll-theme-type-on-strap-3.0.0 _includes/tags_list.html
type-on-strap-0.4.2 _includes/tags_list.html