Switch to .RelPermalink since URL is deprecated
This commit is contained in:
parent
c3c7351089
commit
21fabc210d
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end -}}
|
||||
{{ range $pages }}
|
||||
{{- if ne .URL "search" -}}
|
||||
{{- if ne .RelPermalink "/search/" -}}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue