1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-12-23 18:03:22 +01:00
blog/_src/_layouts/archive.html

22 lines
502 B
HTML
Raw Normal View History

2015-06-07 22:15:03 +02:00
---
layout: base
---
2015-08-09 21:50:06 +02:00
<section role="main" id="main" class="grid">
2015-10-31 20:43:50 +01:00
2015-06-07 22:15:03 +02:00
{% if page.type == 'category' %}
2015-06-08 21:22:09 +02:00
<h1 class="page-title">{{ page.title }}</h1>
2015-06-22 21:28:31 +02:00
{% elsif page.type == 'tag' %}
<h1 class="page-title"><span class="hash">#</span>{{ page.title }}</h1>
2015-06-07 22:15:03 +02:00
{% else %}
<h1 class="page-title">{{ page.type }} archive for {{ page.title }}</h1>
{% endif %}
{% for post in page.posts %}
{% include articles.html %}
{% endfor %}
</section>
{% include paginator.html %}