From a553f7fccf87c31f82fc6e13f583b2bd9f9b232c Mon Sep 17 00:00:00 2001 From: Paul J Date: Sat, 18 Feb 2023 15:27:24 +0200 Subject: [PATCH 1/4] Make home page subheading optional. --- layouts/index.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/index.html b/layouts/index.html index 4bbbde398..31e7fab71 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -11,9 +11,11 @@

{{ .Params.heading }}.

{{ if isset .Params "handle" }} @{{ .Params.handle }} {{ end }} + {{ if isset .Params "subheading" }}

{{ .Params.subheading }}

+ {{ end }} {{ partial "social-icons.html" .}} From 6aa32875fcf0d93d2ecadf4b581ead65cacf26e1 Mon Sep 17 00:00:00 2001 From: Paul J Date: Sat, 18 Feb 2023 15:47:36 +0200 Subject: [PATCH 2/4] Add option for custom blog directory. --- layouts/taxonomy/tag.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index b9795c93e..a7b25199b 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -4,10 +4,11 @@ {{ define "main" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }} + {{ $blogDir := .Site.Params.blogDir | default "/blog" }}
    From f390b7482af526002526f33971b8e918c956df5c Mon Sep 17 00:00:00 2001 From: Paul J Date: Sat, 18 Feb 2023 16:03:31 +0200 Subject: [PATCH 3/4] Revert "Add option for custom blog directory." This reverts commit 6aa32875fcf0d93d2ecadf4b581ead65cacf26e1. (Wrong branch, sorry.) --- layouts/taxonomy/tag.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index a7b25199b..b9795c93e 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -4,11 +4,10 @@ {{ define "main" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }} - {{ $blogDir := .Site.Params.blogDir | default "/blog" }}
      From dc64edb5bb0ad395c9ad200589fdbc9a4e59c047 Mon Sep 17 00:00:00 2001 From: Paul J Date: Sat, 18 Feb 2023 16:07:36 +0200 Subject: [PATCH 4/4] Add option for custom blog directory. --- layouts/taxonomy/tag.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/layouts/taxonomy/tag.html b/layouts/taxonomy/tag.html index b9795c93e..a7b25199b 100644 --- a/layouts/taxonomy/tag.html +++ b/layouts/taxonomy/tag.html @@ -4,10 +4,11 @@ {{ define "main" }} {{ $dateFormat := .Site.Params.dateFormat | default "Jan 2 2006" }} + {{ $blogDir := .Site.Params.blogDir | default "/blog" }}