From bc6526e7b332138502daeeaefa1a835d6ab44b8a Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Mon, 2 May 2022 00:20:51 +0200 Subject: Truncate description in meta tag --- layouts/partials/templates/doublinecore.html | 2 +- layouts/partials/templates/opengraph.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/partials/templates/doublinecore.html b/layouts/partials/templates/doublinecore.html index 674d343..04e8ae6 100644 --- a/layouts/partials/templates/doublinecore.html +++ b/layouts/partials/templates/doublinecore.html @@ -11,4 +11,4 @@ {{- with .Params.date }} {{ printf "" (.UTC.Format "2006-01-02T15:04:05-07:00") | safeHTML }} -{{- end }} +{{- end -}} diff --git a/layouts/partials/templates/opengraph.html b/layouts/partials/templates/opengraph.html index e3dad0f..c94fd68 100644 --- a/layouts/partials/templates/opengraph.html +++ b/layouts/partials/templates/opengraph.html @@ -1,6 +1,6 @@ - + {{- if .Params.cover.image -}} -- cgit v1.2.3