Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
40 lines (30 sloc) 1.11 KB
---
layout: default
title: Home
---
<section class="archive">
{% for post in site.posts %}
{% unless post.next %}
{% unless forloop.first %}</div></div>{% endunless %}
<div class="bundle row gutters fadeInDown animated">
<h2 class="post-year col span_2">{{ post.date | date: '%Y' }}</h2>
<div class="posts-by-year col span_10">
{% else %}
{% capture year %}{{ post.date | date: '%Y' }}{% endcapture %}
{% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %}
{% if year != nyear %}
{% unless forloop.first %}</div></div>{% endunless %}
<div class="bundle row gutters fadeInDown animated">
<h2 class="post-year col span_2">{{ post.date | date: '%Y' }}</h2>
<div class="posts-by-year col span_10">
{% endif %}
{% endunless %}
<article class="row gutters">
<a href="{{ site.baseurl }}{{ post.url }}" title="{{ post.title }}" class="col span_8">{{ post.title }}</a>
<div class="post-date col span_4">
<time datetime="{{ post.date | date: '%Y-%m-%d' }}">{{ post.date | date: "%-d %B" }}</time>
</div>
</article>
{% if forloop.last %}</div></div>{% endif %}
{% endfor %}
</section>