1---
2layout: default
3---
4{% include category/title.html %}
5
6<ul class="list-posts">
7 {% assign empty_category = true %}
8 {% for post in site.posts %}
9 {% if post.categories contains page.category %}
10 <li class="post-teaser">
11 <a href="{{ post.url | prepend: site.baseurl }}">
12 <span class="post-teaser__title">{{ post.title }}</span>
13 <span class="post-teaser__date">{{ post.date | date: "%d %B %Y" }}</span>
14 </a>
15 </li>
16 {% assign empty_category = false %}
17 {% endif %}
18 {% endfor %}
19
20 {% if empty_category %}
21 <li class="empty-post-list">
22 It seems that there are no articles on that category,
23 please go <a href="/">home</a> to see the full list of articles.
24 </li>
25 {% endif %}
26</ul>
27
28{% include page/explore.html %}