Skip to content

Latest commit

 

History

History
20 lines (19 loc) · 590 Bytes

categories.md

File metadata and controls

20 lines (19 loc) · 590 Bytes
layout permalink title
default
/categories
Categories

{% assign sorted_categories = site.categories | sort %} {% for category in sorted_categories %}

{% capture category_name %}{{ category | first }}{% endcapture %}

{{ category_name }}

    <ul>
      {% for post in site.categories[category_name] %}
        <li><a class="archive-link" href="{{ site.baseurl }}{{ post.url }}">{{post.title}}</a></li>
      {% endfor %}
    </ul>
</div>
{% endfor %}