From 9259d4a3fc9506da4a9165e1805abe96f51e1e22 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Mon, 27 Jul 2020 12:18:14 +0200 Subject: [PATCH] minor fixes --- _includes/forloop-dates.html | 21 +++++++++++++++ _includes/seo.html | 51 ++++-------------------------------- log.html | 21 +++++++++++---- 3 files changed, 42 insertions(+), 51 deletions(-) create mode 100644 _includes/forloop-dates.html diff --git a/_includes/forloop-dates.html b/_includes/forloop-dates.html new file mode 100644 index 0000000..34c84a7 --- /dev/null +++ b/_includes/forloop-dates.html @@ -0,0 +1,21 @@ + + {% assign d = post.date | date: "%-d" %} + {% case d %} + {% when '1' or '21' or '31' %}{{ d }}:st + {% when '2' or '22' %}{{ d }}:nd + {% when '3' or '23' %}{{ d }}:rd + {% else %}{{ d }}:th + {% endcase %} of + {% assign m = post.date | date: "%-m" %} + {% case m %} + {% when '1' %}January + {% when '2' %}February + {% when '3' %}March + {% when '4' %}April + {% when '5' %}May + {% when '6' %}June + {% when '7' %}July + {% when '8' %}August + {% when '9' %}September {% when '10' %}October {% when '11' %}November {% when '12' %}December + {% endcase %} + {{ post.date | date: "%Y" }} diff --git a/_includes/seo.html b/_includes/seo.html index 3891053..ad9d0f5 100644 --- a/_includes/seo.html +++ b/_includes/seo.html @@ -183,7 +183,7 @@ -{% endif %} + +{% endif %} - -{% if page.url == '/radio/' or page.url == '/' %} - - - {% endif %} - + \ No newline at end of file diff --git a/log.html b/log.html index eb86989..340ad42 100644 --- a/log.html +++ b/log.html @@ -13,17 +13,27 @@ image: /images/pages/grace-brauteseth-1R0hB9WWVvQ-unsplash.jpg {% include relBase.html %} -