Correct Atom link to opensearch

This commit is contained in:
JP Hastings-Spital 2025-01-20 20:40:35 +00:00
parent 02050df162
commit 81f5e8e67f

View file

@ -24,7 +24,7 @@
{{- with .OutputFormats.Get "RSS" -}} {{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" (.Permalink | absURL) .MediaType | safeHTML }} {{ printf "<atom:link href=%q rel=\"self\" type=%q />" (.Permalink | absURL) .MediaType | safeHTML }}
{{- end -}} {{- end -}}
{{ printf "<atom:link href=\"/opensearch.xml\" rel=\"search\" type=\"application/opensearchdescription+xml\" />" }} {{ printf "<atom:link href=\"/opensearch.xml\" rel=\"search\" type=\"application/opensearchdescription+xml\" />" | safeHTML }}
{{- range $i, $page := (first 42 $pages) -}} {{- range $i, $page := (first 42 $pages) -}}
{{- if $page.Params.inReplyTo -}}{{ continue }}{{- end -}} {{- if $page.Params.inReplyTo -}}{{ continue }}{{- end -}}
<item> <item>