From 85f42c395e34f13d13a2a92dd09cea5f01558a9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Zaj=C4=85czkowski?= Date: Mon, 2 Mar 2020 14:38:22 +0100 Subject: [PATCH] Use tags as keywords if keywords not defined Very often keywords are not defined at all, so it's better to reuse tags that nothing (omitting the fact if keywords are used by anything). --- layouts/partials/head/meta.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head/meta.html b/layouts/partials/head/meta.html index b2007b4..b223588 100644 --- a/layouts/partials/head/meta.html +++ b/layouts/partials/head/meta.html @@ -2,7 +2,11 @@ {{ end }} +{{ if isset .Params "keywords" }} +{{ else if isset .Params "tags" }} + +{{ end }}