summaryrefslogtreecommitdiff
path: root/archive.liquid
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2024-05-07 11:45:46 -0600
committerHombreLaser <sebastian-440@live.com>2024-05-07 11:45:46 -0600
commita4c0692f8dbab80cf5c0b5644ec050322040c4e3 (patch)
tree3ea2f9dc891a13bbcf8b8980c5bf6f2ebb0b9dc2 /archive.liquid
parentacc3c3caf7029f92a2b146c29a510181c1b42a65 (diff)
Add dark theme
Diffstat (limited to 'archive.liquid')
-rw-r--r--archive.liquid30
1 files changed, 30 insertions, 0 deletions
diff --git a/archive.liquid b/archive.liquid
new file mode 100644
index 0000000..adc35f5
--- /dev/null
+++ b/archive.liquid
@@ -0,0 +1,30 @@
+---
+layout: default
+permalink: /archive.html
+---
+
+<div class="column">
+ <h1>
+ {% t global.archive %}
+ </h1>
+
+ {% for post in site.posts %}
+ {% unless post.next %}
+ <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>
+ {% endif %}
+ {% endunless %}
+ <li>
+ <a href="{{ site.baseurl}}{{ post.url }}">
+ {{ post.date | date: "%b %-d" }} - {{ post.title }}
+ </a>
+ </li>
+ {% endfor %}
+</div>