From a671a59ca2544262e527bb7ccae9dc174030a598 Mon Sep 17 00:00:00 2001 From: davegson <3080765+davegson@users.noreply.github.com> Date: Thu, 2 Jul 2020 17:54:11 +0200 Subject: [PATCH] Automatically retrieve the last blog/pod on the homepage --- _includes/thumbnail_blog.html | 3 +++ _includes/thumbnail_podcast.html | 3 +++ index.html | 44 +++++--------------------------- 3 files changed, 13 insertions(+), 37 deletions(-) diff --git a/_includes/thumbnail_blog.html b/_includes/thumbnail_blog.html index ad3152b..7883070 100644 --- a/_includes/thumbnail_blog.html +++ b/_includes/thumbnail_blog.html @@ -13,6 +13,9 @@
+ {% if include.pre_header %} + {{ include.pre_header }} - + {% endif %} {{ post.date | date: "%-d. %b %Y" }} {% if post.progress_update == true %} diff --git a/_includes/thumbnail_podcast.html b/_includes/thumbnail_podcast.html index 786a637..f95bd68 100644 --- a/_includes/thumbnail_podcast.html +++ b/_includes/thumbnail_podcast.html @@ -22,6 +22,9 @@
+ {% if include.pre_header %} + {{ include.pre_header }} - + {% endif %} {{ episode.date | date: "%-d. %b %Y" }} {% assign title_length = episode.title | size %} diff --git a/index.html b/index.html index 9fb78bb..ff9039b 100644 --- a/index.html +++ b/index.html @@ -138,32 +138,10 @@ title: Safing - Love Freedom