Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 787 Bytes

categories.md

File metadata and controls

27 lines (26 loc) · 787 Bytes
layout permalink title
default
/categories/
Categories

Categories / Posts

    {% for category in site.data.categories %}
      {% for post in site.categories[category.path] %}
      <li>
        <span class="post-meta">{{ post.date | date: "%Y/%m/%d" }}</span>
        <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
      </li>
      {% if forloop.index >= 5 %}
      {%   break %}
      {% endif %}
      {% endfor %}
    </div>
    {% endfor %}