From 30c268fdabca62c7c4df6e8db7426666fc2be66a Mon Sep 17 00:00:00 2001 From: HombreLaser Date: Sun, 5 May 2024 19:51:24 -0600 Subject: Change interface --- archive.html | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) (limited to 'archive.html') 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 --- -
-{%for post in site.posts %} +
+

+ {% t global.archive %} +

+ + {% for post in site.posts %} {% unless post.next %} -

{{ post.date | date: '%Y' }}

+

{{ post.date | date: '%Y' }}

+
    + {% else %} + {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} + {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} + {% if year != nyear %} +
+

{{ post.date | date: '%Y' }}

    - {% else %} - {% capture year %}{{ post.date | date: '%Y' }}{% endcapture %} - {% capture nyear %}{{ post.next.date | date: '%Y' }}{% endcapture %} - {% if year != nyear %} -
-

{{ post.date | date: '%Y' }}

- + {% endif %} + {% endunless %} +
  • + + {{ post.date | date: "%b %-d" }} - {{ post.title }} + +
  • + {% endfor %}
    -- cgit v1.2.3