Remove host from feed IDs
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
Reference in New Issue
Block a user