summaryrefslogtreecommitdiff
path: root/archive.html
diff options
context:
space:
mode:
authorHombreLaser <sebastian-440@live.com>2023-08-27 02:40:08 -0600
committerHombreLaser <sebastian-440@live.com>2023-08-27 02:40:08 -0600
commitac6772f292a83217e10e38ba853c76b5666133e0 (patch)
treed0d4eb27d9482dc275d75f48a2ca029d825e52a6 /archive.html
Commit inicial
Diffstat (limited to 'archive.html')
-rw-r--r--archive.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/archive.html b/archive.html
new file mode 100644
index 0000000..2056c92
--- /dev/null
+++ b/archive.html
@@ -0,0 +1,22 @@
+---
+layout: default
+---
+
+<div class="well">
+{%for post in site.posts %}
+ {% unless post.next %}
+ <h1>{{ post.date | date: '%Y' }}</h1>
+ <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>
+</div>