use full url as guid

This commit is contained in:
Niko Abeler 2022-08-16 21:06:32 +02:00
parent 807f909937
commit c6ab7227d8
1 changed files with 1 additions and 1 deletions

2
rss.go
View File

@ -44,7 +44,7 @@ func RenderRSSFeed(user User) (string, error) {
post, _ := user.GetPost(postId)
_, meta := post.MarkdownData()
rss.Channel.Items = append(rss.Channel.Items, RSSItem{
Guid: postId,
Guid: post.FullUrl(),
Title: post.Title(),
Link: post.FullUrl(),
PubDate: meta.Date,