trailing slash
This commit is contained in:
parent
128e38651d
commit
e31dbeb18c
|
@ -48,7 +48,7 @@ func RenderRSSFeed(config model.SiteConfig, entries []model.Entry) (string, erro
|
||||||
|
|
||||||
for _, entry := range entries {
|
for _, entry := range entries {
|
||||||
content := entry.Content()
|
content := entry.Content()
|
||||||
url, _ := url.JoinPath(config.FullUrl, "/posts/", entry.ID())
|
url, _ := url.JoinPath(config.FullUrl, "/posts/", entry.ID(), "/")
|
||||||
rss.Channel.Items = append(rss.Channel.Items, RSSItem{
|
rss.Channel.Items = append(rss.Channel.Items, RSSItem{
|
||||||
Guid: url,
|
Guid: url,
|
||||||
Title: entry.Title(),
|
Title: entry.Title(),
|
||||||
|
|
Loading…
Reference in New Issue