Fix Stork Japanese title display

This commit is contained in:
Elnu 2023-02-03 14:56:07 -08:00
parent 2cadfda1c1
commit 29b925d36b

View file

@ -30,7 +30,7 @@
{{- end }} {{- end }}
{{- range .Pages }} {{- range .Pages }}
{{- $file := dict {{- $file := dict
"title" (trim (partial "content.html" .Title) "\n") "title" (trim (partial "kanji.html" .Title) "\n")
"url" .RelPermalink "url" .RelPermalink
"path" (path.Join (strings.TrimPrefix site.BaseURL .Permalink) "index.html") "path" (path.Join (strings.TrimPrefix site.BaseURL .Permalink) "index.html")
"filetype" "HTML" "filetype" "HTML"