Switch to .RelPermalink since URL is deprecated

This commit is contained in:
James Ray 2022-02-28 19:09:07 -05:00
parent c3c7351089
commit 21fabc210d
No known key found for this signature in database
GPG key ID: E8AD82EF4759BD72

View file

@ -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>