fix usage of summary and description shortcode

This commit is contained in:
Robert Kaussow 2022-02-22 22:05:49 +01:00
parent c7b641010f
commit 614d157b2f
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
</header>
<section class="gblog-markdown">
{{ partial "utils/description" . }}
{{ .Summary }}
</section>
<div class="gblog-post__readmore">
{{ if .Truncated }}

View File

@ -36,7 +36,7 @@
{{- with .Params.lead }}
"alternativeHeadline": {{ . }},
{{- end }}
{{- with .Summary }}
{{- with partial "utils/description" . }}
"description": "{{ . | plainify | htmlUnescape | chomp }}",
{{- end }}
{{- with partial "utils/featured" . }}