From 2739549fae1a848c91c37b1e84c2430aa8dd332d Mon Sep 17 00:00:00 2001 From: Glenn Roberts Date: Mon, 21 Nov 2022 13:05:28 +1000 Subject: [PATCH 1/2] Fix: unique meta descriptions from articles fixes :bug: #377 The Meta description tag is now generated from either 1. page description, or 2. Page content summary, or 3. Site wide config --- layouts/partials/head.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 871c63b5..d4c59a3c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,9 +14,7 @@ {{- end }} {{/* Metadata */}} - {{ with .Site.Params.description -}} - - {{- end }} + {{ with .Site.Params.keywords -}} {{- end }} From a8fab1950d88338f9abd91dc20e49b39a0f3f7d5 Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 21 Nov 2022 14:42:37 +1100 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=8E=A8=20Minor=20formatting=20adjustm?= =?UTF-8?q?ent?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index d4c59a3c..22d24607 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,7 +14,7 @@ {{- end }} {{/* Metadata */}} - + {{ with .Site.Params.keywords -}} {{- end }}