From cd9462dee1a07a5aaadf746446b0f9a0088f0239 Mon Sep 17 00:00:00 2001 From: josh-justjosh <54246291+josh-justjosh@users.noreply.github.com> Date: Sat, 20 Feb 2021 00:05:20 +0000 Subject: [PATCH] Adds a Post Archive Adds a simple page listing all posts on the site split into months --- _layouts/default.html | 1 + _pages/archive.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 _pages/archive.md diff --git a/_layouts/default.html b/_layouts/default.html index 34a888c6a..caa586258 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -32,6 +32,7 @@

{{ site.name }}

Getting Started Search About + Archive diff --git a/_pages/archive.md b/_pages/archive.md new file mode 100644 index 000000000..c29b9f556 --- /dev/null +++ b/_pages/archive.md @@ -0,0 +1,33 @@ +--- +layout: page +permalink: /archive/ +title: Posts Archive +--- + + +
+
+

Most Recent Posts

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

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

+ +

Oldest Posts

+
+