Permalink
Find file
e60136a Nov 8, 2015
35 lines (29 sloc) 1.15 KB
---
layout: base
---
<aside class="about">
Howdy! My name is Taylor. I am a software developer. I live in Texas. Want to
know more? Read <a href="/about/">my about page</a>.
</aside>
<ol class="posts" itemprop="blogPosts">
{% for post in site.posts %}
{% capture this_year %}{{ post.date | date:'%Y' }}{% endcapture %}
{% capture this_month %}{{ post.date | date:'%B' }}{% endcapture %}
{% if this_month != last_month %}
<li>
<span class="month">{{ this_month }}</span>
{% if this_year != last_year %}
<span class="year">{{ this_year }}</span>
{% endif %}
</li>
{% endif %}
<li class="post" itemscope itemtype="http://schema.org/BlogPosting" value="{{ post.date | date:'%d' }}">
<meta content="{{ post.date | date:'%Y-%m-%d' }}" itemprop="datePublished">
<a href="{{ post.url }}" itemprop="url">
<span itemprop="name">{{ post.title | escape }}</span>
</a>
</li>
{% assign last_year = this_year %}
{% assign last_month = this_month %}
{% endfor %}
</ol>