mirror of
https://github.com/thegeeklab/hugo-geekblog.git
synced 2024-11-24 14:00:42 +00:00
fix usage of summary and description shortcode
This commit is contained in:
parent
c7b641010f
commit
614d157b2f
@ -14,7 +14,7 @@
|
||||
</header>
|
||||
|
||||
<section class="gblog-markdown">
|
||||
{{ partial "utils/description" . }}
|
||||
{{ .Summary }}
|
||||
</section>
|
||||
<div class="gblog-post__readmore">
|
||||
{{ if .Truncated }}
|
||||
|
@ -36,7 +36,7 @@
|
||||
{{- with .Params.lead }}
|
||||
"alternativeHeadline": {{ . }},
|
||||
{{- end }}
|
||||
{{- with .Summary }}
|
||||
{{- with partial "utils/description" . }}
|
||||
"description": "{{ . | plainify | htmlUnescape | chomp }}",
|
||||
{{- end }}
|
||||
{{- with partial "utils/featured" . }}
|
||||
|
Loading…
Reference in New Issue
Block a user