Skip to content

Latest commit

 

History

History
22 lines (19 loc) · 903 Bytes

archivebytag.md

File metadata and controls

22 lines (19 loc) · 903 Bytes
title permalink active sitemap layout
Post by Tag
/tagview/
archivebytag
false
page

{% assign tags = site.tags | sort %} {% assign sorted_posts = site.posts | sort: 'title' %}

{% for tag in tags %} {{ tag | first | replace: '-', ' ' }}({{ tag | last | size }}){% if forloop.last == false %} • {% endif %}{% endfor %}

 

{% for tag in tags %}

 

{{ tag | first | replace:'-', ' ' }} {{ tag | last | size }}

    {% for post in sorted_posts %}{%if post.tags contains tag[0]%}
  • {{ post.title }} {% if post.author %} • {{ post.author }}{% endif %}{% if post.date %} • {{ post.date | date: "%B %e, %Y" }}{% endif %}
  • {%endif%}{% endfor %}
{% endfor %}