From 614d157b2f5326b7ecc6dbe7c48b8cb7c7f0ab92 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 22 Feb 2022 22:05:49 +0100 Subject: [PATCH] fix usage of summary and description shortcode --- layouts/_default/list.html | 2 +- layouts/partials/microformats/schema.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a228991..2743172 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -14,7 +14,7 @@
- {{ partial "utils/description" . }} + {{ .Summary }}
{{ if .Truncated }} diff --git a/layouts/partials/microformats/schema.html b/layouts/partials/microformats/schema.html index e371f16..e290bbb 100644 --- a/layouts/partials/microformats/schema.html +++ b/layouts/partials/microformats/schema.html @@ -36,7 +36,7 @@ {{- with .Params.lead }} "alternativeHeadline": {{ . }}, {{- end }} - {{- with .Summary }} + {{- with partial "utils/description" . }} "description": "{{ . | plainify | htmlUnescape | chomp }}", {{- end }} {{- with partial "utils/featured" . }}