1
0
Fork 0
This repository has been archived on 2021-01-06. You can view files and clone it, but cannot push or open issues or pull requests.
dennogumi.org-archive/archive.html
2015-05-24 16:32:27 +02:00

24 lines
863 B
HTML
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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 -->