summaryrefslogtreecommitdiff
path: root/index.html
blob: 56da622c0b89fa4012794e69d42745cdd58708af (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
---
layout: default
title: lumberjaph.net
---

<center><h1><a href="{{ root_url }}/">lumberjaph.net</a></h1></center>

{% for post in site.posts reverse limit:10 %}

  {% capture date %}{{ post.date }}{% endcapture %}
  {% capture this_year %}{{ date | date: "%Y" }}{% endcapture %}

  {% unless year == this_year %}
    {% assign year = this_year %}
    {% unless forloop.first %}
      </section>
    {% endunless %}
    <section class="archives"><h2>{{ date | date: "%Y" }}</h2>
  {% endunless %}

  <article>
    <h3><a href="{{ root_url }}{{ post.url }}">{{post.title}}</a></h3>
    <div class="meta">
      <span class="date">{{ date | date: "%b %e " }}</span>
    </div>
  </article>

{% endfor %}

{% include footer.html %}