1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-24 02:45:12 +01:00
blog/_src/_layouts/archive.html

30 lines
573 B
HTML
Raw Normal View History

2015-06-07 22:15:03 +02:00
---
layout: base
---
<section role="main" id="main" class="row">
{% if page.type == 'category' %}
2015-06-08 21:22:09 +02:00
<h1 class="page-title">{{ page.title }}</h1>
2015-06-07 22:15:03 +02:00
{% else %}
<h1 class="page-title">{{ page.type }} archive for {{ page.title }}</h1>
{% endif %}
{% if page.title == 'photos' %}
<div class="masonry">
<div class="grid-sizer"></div>
{% endif %}
{% for post in page.posts %}
{% include articles.html %}
{% endfor %}
{% if page.title == 'photos' %}
</div>
{% endif %}
</section>
{% include paginator.html %}