mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
Add transform.Plainify to the summary
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
This commit is contained in:
parent
0306b6a74d
commit
c4ae1000a0
@ -66,7 +66,7 @@
|
||||
{{- $setup := .setup -}}
|
||||
{{- $separator := "&" -}}
|
||||
{{- $title := $context.Title | transform.HTMLEscape -}}
|
||||
{{- $description := $context.Summary | transform.HTMLEscape -}}
|
||||
{{- $description := $context.Summary | transform.Plainify | transform.HTMLEscape -}}
|
||||
{{- $permalink := $context.Permalink | transform.HTMLEscape -}}
|
||||
{{- with $setup.separator -}}
|
||||
{{- $separator = . -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user