mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-22 22:12:24 +01:00
Feeds: Change release feed item titles
This commit is contained in:
parent
5f1cd080bf
commit
b741cc592f
@ -80,7 +80,7 @@ def _get_releases_feed(query, feed_url: str):
|
|||||||
items = [{
|
items = [{
|
||||||
"id": release.package.get_url("packages.view_release", id=release.id, absolute=True),
|
"id": release.package.get_url("packages.view_release", id=release.id, absolute=True),
|
||||||
"language": "en",
|
"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) \
|
"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)),
|
if release.release_notes else _render_link(release.package.get_url("packages.view_release", id=release.id, absolute=True)),
|
||||||
"author": {
|
"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.atom
|
||||||
|
https://content.minetest.net/packages/AUTHOR/NAME/releases_feed.json
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user