From 1f47eeb7bedefd8fee4d8bae7072766cfa2219ad Mon Sep 17 00:00:00 2001 From: David Wittman Date: Sat, 22 May 2021 09:43:57 -0500 Subject: Add support for meta descriptions The meta description tag is _allegedly_ important for SEO, and it can improve the page's summary in Google results. --- layouts/partials/header.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 45ba700..c594dfb 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -14,7 +14,9 @@ {{- end -}} - + {{- if isset .Site.Params "description" }} + + {{- end }} {{ with .OutputFormats.Get "rss" -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} -- cgit v1.2.3