aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_layouts/category.html
blob: dd9fcb612ff21f4e295e0ef85c68b826e4d1ff9f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
---
layout: default
---
<h1>{{ page.title }}</h1>
<hr>
<p>This is a list of posts in the "{{ page.category }}" category.</p>
{% if site.categories[page.category].size > 0 %}
  <ul>
    {% for post in site.categories[page.category] %}
      <li><a href="{{ site.baseurl }}{{ post.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="{{ site.baseurl }}/categories.html">this page</a>.</p>