From 7c2ca7969e04861550e02eb4b1b1b5db9e388c62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nuno=20Cora=C3=A7=C3=A3o?= Date: Fri, 12 May 2023 14:10:41 +0100 Subject: [PATCH] :sparkles: frontmatter uses both summary and description for site's meta description --- 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 14114599..9b37e53f 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -14,7 +14,7 @@ {{- end }} {{/* Metadata */}} - {{ with .Params.Summary | default .Site.Params.description -}} + {{ with (.Params.Summary | default .Params.Description) | default .Site.Params.description -}} {{- end }} {{ with .Params.Tags | default .Site.Params.keywords -}}