24 lines
863 B
HTML
24 lines
863 B
HTML
---
|
||
layout: default
|
||
title: "Blog Archive"
|
||
teaser: "All posts, organized by year."
|
||
breadcrumb: true
|
||
permalink: "archive/"
|
||
---
|
||
|
||
<div id="blog-index" class="row">
|
||
<div class="small-12 columns t30">
|
||
<h1>{{ page.title }}</h1>
|
||
{% if page.teaser %}<p class="teaser">{{ page.teaser }}</p>{% endif %}
|
||
{% assign counter = 1 %}
|
||
<ul>
|
||
{% for post in site.posts %}
|
||
{% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %}
|
||
{% if currentyear != year %}
|
||
<li><h4 style="display: inline;"><a href="{{ site.url }}/{{ currentyear }}/">{{ currentyear }}</a></h4></li>
|
||
{% capture year %}{{currentyear}}{% endcapture %}
|
||
{% endif %}
|
||
{% endfor %}
|
||
</ul>
|
||
</div><!-- /.small-12.columns -->
|
||
</div><!-- /.row -->
|