summaryrefslogtreecommitdiff
path: root/articles/index.html
blob: 5a7a0d76057ba1659091b786d05e7bae1f3e1a93 (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
---
layout: static
title: Articles
---

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

{% for post in site.posts reverse %}

  {% 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> &#8208; <span class="oneliner">{{ post.summary }}</span>
    </div>
  </article>

{% endfor %}