Remove unneeded safeHTML

This commit is contained in:
Will Faught
2023-09-24 20:58:11 -07:00
parent a09bbcd5cf
commit dc9b075bde
9 changed files with 17 additions and 17 deletions

View File

@@ -5,11 +5,11 @@
{{- $page.Scratch.Add "paige_index" (dict
"categories" .Params.categories
"date" .PublishDate
"description" (.Description | markdownify | plainify | htmlUnescape | safeHTML)
"description" (.Description | markdownify | plainify | htmlUnescape)
"keywords" .Params.keywords
"link" .RelPermalink
"tags" .Params.tags
"text" (strings.TrimRight " " (replace (.Plain | htmlUnescape | safeHTML) "\n" " "))
"title" (.Title | markdownify | plainify | htmlUnescape | safeHTML)) -}}
"text" (strings.TrimRight " " (replace (.Plain | htmlUnescape) "\n" " "))
"title" (.Title | markdownify | plainify | htmlUnescape)) -}}
{{- end -}}
{{- $page.Scratch.Get "paige_index" | jsonify -}}

View File

@@ -8,7 +8,7 @@
<ul class="list-inline text-center">
{{ range (sort . "Title") }}
<li class="list-inline-item">
<a href="{{ .RelPermalink }}">{{ .Title | markdownify | safeHTML }}</a>
<a href="{{ .RelPermalink }}">{{ .Title | markdownify }}</a>
</li>
{{ end }}
</ul>