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 34a888c..caa5862 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -32,6 +32,7 @@ Getting Started Search About + Archive diff --git a/_pages/archive.md b/_pages/archive.md new file mode 100644 index 0000000..c29b9f5 --- /dev/null +++ b/_pages/archive.md @@ -0,0 +1,33 @@ +--- +layout: page +permalink: /archive/ +title: Posts Archive +--- + + +
{% if post.title and post.title != "" %}{{post.title}}{% else %}{{post.excerpt |strip_html}}{%endif%} - {% if post.date and post.date != "" %}{{ post.date | date: "%e %B %Y" }}{%endif%}
+ {% endfor %} +