mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-09 01:35:56 +01:00
Correct Atom link to opensearch
This commit is contained in:
parent
02050df162
commit
81f5e8e67f
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue