fix(template): missing safeURL for index

This commit is contained in:
valvin 2022-10-15 18:50:06 +02:00
parent 1eae929167
commit 3dc023ad18
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<h1>{{ .Title }}</h1> <h1>{{ .Title }}</h1>
{{ if .Content }} {{ if .Content }}
{{ .Content }}{{ end }} {{ .Content | safeHTML }}{{ end }}
<ul> <ul>
{{ range .Pages }}<li><a href="{{ .Path }}">{{ if not .Date.IsZero -}} {{ range .Pages }}<li><a href="{{ .Path }}">{{ if not .Date.IsZero -}}
{{ .Date.Format "2006-01-02" }} {{end}}{{ .Title }}</a></li> {{ .Date.Format "2006-01-02" }} {{end}}{{ .Title }}</a></li>