diff options
Diffstat (limited to 'archive.html')
-rw-r--r-- | archive.html | 37 |
1 files changed, 22 insertions, 15 deletions
diff --git a/archive.html b/archive.html index 5bedb01..c509919 100644 --- a/archive.html +++ b/archive.html @@ -3,21 +3,28 @@ layout: default permalink: /archive --- -<div class="well"> -{%for post in site.posts %} +<div class="column"> + <h1> + {% t global.archive %} + </h1> + + {% for post in site.posts %} {% unless post.next %} - <h1>{{ post.date | date: '%Y' }}</h1> + <h2>{{ post.date | date: '%Y' }}</h2> + <ul> + {% else %} + {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} + {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} + {% if year != nyear %} + </ul> + <h2>{{ post.date | date: '%Y' }}</h2> <ul> - {% else %} - {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} - {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} - {% if year != nyear %} - </ul> - <h1>{{ post.date | date: '%Y' }}</h1> - <ul> - {% endif %} - {% endunless %} - <li><a href="{{ site.baseurl}}{{ post.url }}">{{ post.date | date: "%b %-d" }} - {{ post.title }}</a></li> -{% endfor %} -</ul> + {% endif %} + {% endunless %} + <li> + <a href="{{ site.baseurl}}{{ post.url }}"> + {{ post.date | date: "%b %-d" }} - {{ post.title }} + </a> + </li> + {% endfor %} </div> |