diff --git a/archive.html b/archive.html index 48e0781..c14e802 100644 --- a/archive.html +++ b/archive.html @@ -1,30 +1,24 @@ --- layout: default title: "Blog Archive" -teaser: "Check out all blog posts in my blog archive. Click on a headline to read the teaser." +teaser: "All posts, organized by year." breadcrumb: true -image: - header: header_unsplash_8.jpg permalink: "archive/" --- +

{{ page.title }}

{% if page.teaser %}

{{ page.teaser }}

{% endif %} - -
{% assign counter = 1 %} - {% for post in site.posts limit:1000 reversed %} -
- {% if post.subheadline %}{{ post.subheadline }} › {% endif %}{{ post.title }} -
- {{ post.excerpt | remove: '

' | remove: '

' }} - - {{ site.data.language.read_more }}

-
-
- {% assign counter=counter | plus:1 %} +
    + {% for post in site.posts %} + {% capture currentyear %}{{post.date | date: "%Y"}}{% endcapture %} + {% if currentyear != year %} +
  • {{ currentyear }}

  • + {% capture year %}{{currentyear}}{% endcapture %} + {% endif %} {% endfor %} -
+