mirror of
https://github.com/kremalicious/blog.git
synced 2024-11-14 09:05:17 +01:00
32 lines
684 B
HTML
32 lines
684 B
HTML
---
|
|
layout: base
|
|
---
|
|
|
|
<section role="main" id="main" class="row">
|
|
|
|
{% if page.type == 'category' %}
|
|
<h1 class="page-title">{{ page.title }}</h1>
|
|
{% elsif page.type == 'tag' %}
|
|
<h1 class="page-title"><span class="hash">#</span>{{ page.title }}</h1>
|
|
{% 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 %}
|