Skip to content

Latest commit

 

History

History
48 lines (42 loc) · 1.48 KB

tags-en.md

File metadata and controls

48 lines (42 loc) · 1.48 KB
layout permalink header title menu order lang
page
/tags.html
image
/assets/img/header/2018-03-31-tags.jpg
Tags
footer
2
en

{% capture site_tags %}{% for tag in site.tags %}{{ tag | first }}{% unless forloop.last %},{% endunless %}{% endfor %}{% endcapture %}

{% assign tag_words = site_tags | split:',' | sort %}

    {% for item in (0..site.tags.size) %}{% unless forloop.last %} {% capture this_word %}{{ tag_words[item] }}{% endcapture %}
      <a href="#{{ this_word | cgi_escape }}" class="tag">{{ this_word }}
        <span>({{ site.tags[this_word].size }})</span>
      </a>
    

    {% endunless %}{% endfor %}

{% for item in (0..site.tags.size) %}{% unless forloop.last %} {% capture this_word %}{{ tag_words[item] }}{% endcapture %}

{{ this_word }}

{% for post in site.tags[this_word] %}{% if post.title != null %}
{{ post.title }} {{ post.date | date_to_string }}
{% endif %}{% endfor %} {% endunless %}{% endfor %}