From 7210152413be93fe746dac5eb83200a33529b0f6 Mon Sep 17 00:00:00 2001 From: zwbetz-gh Date: Wed, 19 May 2021 20:59:38 -0500 Subject: [PATCH] meta description --- layouts/partials/head.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 1f83fd9..d22678a 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -10,6 +10,10 @@ {{ with .Site.Params.homeMetaContent }} {{ end }} + {{ else }} + {{ $summary := trim (.Summary | plainify | htmlUnescape) "\n\r" + | default .Title }} + {{ end }}