Skip to content

Commit

Permalink
fix id should be unique url in atom feed (#9783)
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasf committed Dec 25, 2024
1 parent f2c4bb9 commit 9fb3011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/ublog/src/main/ui/UblogUi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ final class UblogUi(helpers: Helpers, atomUi: AtomUi)(picfitUrl: lila.core.misc.

private def renderPost(post: UblogPost.PreviewPost, authorName: String) =
frag(
tag("id")(post.id),
tag("id")(s"$netBaseUrl${urlOfPost(post)}"),
tag("published")(post.lived.map(_.at).map(atomUi.atomDate)),
tag("updated")(post.updated.orElse(post.lived).map(_.at).map(atomUi.atomDate)),
link(
Expand Down

0 comments on commit 9fb3011

Please sign in to comment.