Fix RSS bug

This commit is contained in:
JP Hastings-Spital 2024-06-18 09:02:44 +01:00
parent 6cf051f69a
commit 20a6d2b473

View file

@ -25,7 +25,7 @@
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" (.Permalink | absURL) .MediaType | safeHTML }}
{{- end -}}
{{- range $i, $page := $pages -}}
{{- if .params.inReplyTo -}}{{ continue }}{{- end -}}
{{- if $page.Params.inReplyTo -}}{{ continue }}{{- end -}}
<item>
<title>{{ .Title | default (delimit (slice "An untitled" (.Date.Format "January") (.Type | singularize)) " ") }}</title>
<link>{{ .Permalink | absURL }}</link>