Remove host from feed IDs

This commit is contained in:
Will Faught
2025-03-04 18:43:09 -08:00
parent 014e1c8675
commit 9fafcc5215
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@
{{ $authors := partial "paige/func-authors.html" $subpage }}
{{ $content := partial "paige/func-content.html" $subpage }}
{{ $external := and $subpage.Params.link (not ($subpage.Param "paige.feeds.disable_link")) | not | not }}
{{ $id := printf "tag:%s,%s:%s" (urls.Parse site.BaseURL).Host ($subpage.PublishDate.Format "2006-01-02") (cond ($subpage.Params.id | not) $subpage.RelPermalink $subpage.Params.id) }}
{{ $id := cond ($subpage.Params.id | not) $subpage.RelPermalink $subpage.Params.id }}
{{ $published := $subpage.PublishDate.Format $date }}
{{ $title := $subpage.Title | markdownify | plainify | htmlUnescape }}