Put - around $scheme declaration in atom_entry_metadata

This commit is contained in:
Eryn Wells 2022-11-05 23:58:50 -07:00
parent d3df159add
commit 877dcedbcd

View file

@ -4,7 +4,7 @@
<updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated> <updated>{{ .Lastmod.Format "2006-01-02T15:04:05-07:00" | safeHTML }}</updated>
{{- range slice "series" "categories" "tags" -}} {{- range slice "series" "categories" "tags" -}}
{{- range $.GetTerms . -}} {{- range $.GetTerms . -}}
{{ $scheme := (.Site.GetPage (printf "/%s" .Section)).Permalink }} {{- $scheme := (.Site.GetPage (printf "/%s" .Section)).Permalink -}}
<category term="{{ .Name }}" scheme="{{ $scheme }}" label="{{ .Title }}" /> <category term="{{ .Name }}" scheme="{{ $scheme }}" label="{{ .Title }}" />
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}