From f91dc2379fd753108a1051eeb4031f52659f5216 Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Tue, 2 Apr 2019 00:12:48 +0200 Subject: [PATCH] killing dinosaur --- 404.html | 6 ++--- _includes/JB/posts_collate | 55 -------------------------------------- _includes/JB/setup | 22 --------------- 3 files changed, 3 insertions(+), 80 deletions(-) delete mode 100644 _includes/JB/posts_collate delete mode 100644 _includes/JB/setup diff --git a/404.html b/404.html index 6672de1..627d458 100644 --- a/404.html +++ b/404.html @@ -1,12 +1,12 @@ --- layout: default title : Error 404 +subtitle: Error 404 bgimg: /assets/img/404.png permalink: /404.html --- -{% include JB/setup %} +

Sorry, this page is not available anymore or never has been.
Have a look in the archive...

If you really miss something, please send an email to info@basspistol.com -{% assign posts_collate = site.posts %} -{% include JB/posts_collate %} + diff --git a/_includes/JB/posts_collate b/_includes/JB/posts_collate deleted file mode 100644 index cbe3fe5..0000000 --- a/_includes/JB/posts_collate +++ /dev/null @@ -1,55 +0,0 @@ -{% comment %}{% endcomment %} - -{% if site.JB.posts_collate.provider == "custom" %} - {% include custom/posts_collate %} -{% else %} - {% for post in posts_collate %} - {% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %} - {% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %} - {% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %} - {% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %} - - {% if forloop.first %} -

{{this_year}}

-

{{this_month}}

- - {% else %} - {% if this_year != next_year %} - -

{{next_year}}

-

{{next_month}}

- -

{{next_month}}

-