Add missing <link rel="alternate"> element to Atom feed entries

This commit is contained in:
silverpill 2023-01-25 22:24:45 +00:00
parent 9fc87803e5
commit b82c2f3fc6
2 changed files with 2 additions and 0 deletions

View file

@ -17,6 +17,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Fixed
- Added missing `<link rel="self">` element to Atom feeds.
- Added missing `<link rel="alternate">` element to Atom feed entries.
## [1.11.0] - 2023-01-23

View file

@ -33,6 +33,7 @@ fn make_entry(
<updated>{updated_at}</updated>
<author><name>{author}</name></author>
<content type="html">{content}</content>
<link rel="alternate" href="{url}"/>
</entry>"#,
url=object_id,
title=title,