2015-06-07 22:15:03 +02:00
|
|
|
---
|
|
|
|
layout: base
|
|
|
|
---
|
|
|
|
|
2017-02-17 18:39:38 +01:00
|
|
|
<section role="main" id="main">
|
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 %}
|
2017-02-17 18:39:38 +01:00
|
|
|
|
|
|
|
{% if page.path contains "photos" %}<div class="grid grid--gutters grid--half grid-medium--third">{% endif %}
|
|
|
|
{% for post in page.posts %}
|
|
|
|
|
|
|
|
{% if post.layout == "photo" %}
|
|
|
|
{% include photos.html %}
|
|
|
|
{% else %}
|
|
|
|
{% include articles.html %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
{% if page.path contains "photos" %}</div>{% endif %}
|
2015-06-07 22:15:03 +02:00
|
|
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{% include paginator.html %}
|