aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/categories/category.html
blob: 78d5aa09f283fbec201b67c4f0668ff4b1a68dd6 (plain) (blame)
1
2
3
4
5
6
7
8
9
<p>This is a list of posts in category "{{ include.category }}".</p>
{% if site.categories[include.category].size > 0 %}
  <ul>
    {% for post in site.categories[include.category] %}
      <li><a href="{{ post.url | relative_url }}">{{ post.date | date: "%Y-%m-%d" }} &mdash; {{ post.title }}</a></li>
    {% endfor %}
  </ul>
{% endif %}
<p>For a complete list of posts grouped by category, please see <a href="{{ '/all/' | relative_url }}">this page</a>.</p>