Remove page param id

This commit is contained in:
Will Faught
2024-06-03 21:55:11 -07:00
parent c07b847ff1
commit 22968db841
3 changed files with 2 additions and 25 deletions

View File

@@ -4,7 +4,6 @@
{{ $description := or $page.Description "Recent content" }}
{{ $feed := ($page.OutputFormats.Get "rss").Permalink }}
{{ $format := "Mon, 02 Jan 2006 15:04:05 MST" }}
{{ $guids := dict }}
{{ $html := $page.AlternativeOutputFormats.Get "html" }}
{{ $language := site.LanguageCode | default site.Language.Lang }}
{{ $lastbuilddate := (partial "paige/changed.html" $page).Format $format }}
@@ -109,12 +108,6 @@
{{ warnf "layouts/_default/rss.xml: page %s does not have a title or description" .RelPermalink }}
{{ end }}
{{ with index $guids $guid }}
{{ warnf "layouts/_default/rss.xml: pages %s and %s have the same GUID" . $subpage.RelPermalink }}
{{ end }}
{{ $guids = merge (dict $guid .RelPermalink) $guids }}
{{ with $author }}
<author>{{ . }}</author>
{{ end }}