Feeds: Change release feed item titles

This commit is contained in:
rubenwardy 2024-07-02 21:43:32 +01:00
parent 5f1cd080bf
commit b741cc592f
2 changed files with 2 additions and 1 deletions

@ -80,7 +80,7 @@ def _get_releases_feed(query, feed_url: str):
items = [{
"id": release.package.get_url("packages.view_release", id=release.id, absolute=True),
"language": "en",
"title": f"Update: {release.title} - {release.package.title}",
"title": f"\"{release.package.title}\" updated: {release.title}",
"content_html": render_markdown(release.release_notes) \
if release.release_notes else _render_link(release.package.get_url("packages.view_release", id=release.id, absolute=True)),
"author": {

@ -12,4 +12,5 @@ Follow new releases for a package:
```
https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.atom
https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.json
```