From 9b464bd9fc23c0cc3d36ba9cd7dbebcfda89739a Mon Sep 17 00:00:00 2001 From: gursi26 <75204369+gursi26@users.noreply.github.com> Date: Sat, 22 Oct 2022 06:13:24 -0400 Subject: feat(page): add `keywords` front matter field for better SEO (#664) * added keywords metadata tag for google SEO * fix: avoid empty keywords meta tag Co-authored-by: Jimmy Cai --- layouts/partials/head/head.html | 1 + 1 file changed, 1 insertion(+) diff --git a/layouts/partials/head/head.html b/layouts/partials/head/head.html index 4d89b89..be63710 100644 --- a/layouts/partials/head/head.html +++ b/layouts/partials/head/head.html @@ -3,6 +3,7 @@ {{- $description := partialCached "data/description" . .RelPermalink -}} +{{ with .Params.Keywords }}{{ end }} {{- $title := partialCached "data/title" . .RelPermalink -}} {{ $title }} -- cgit v1.2.3