forgejo/options
Gergely Nagy 4b48d21ea7
Disable the RSS feed in file view for non-branches
Files can have an RSS feed, but those only make sense when taken in the
context of a branch. There is no history to make a feed of on a tag or a
commit: they're static. Forgejo does not provide a feed for them for
this reason.

However, the file view on the web UI was offering a link to these
non-existent feeds. With this patch, it does that no longer, and only
provides a link when viewing the file in the context of a branch.

Fixes #2102.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
2024-01-09 09:32:57 +01:00
..
gitignore [skip ci] Updated licenses and gitignores 2022-12-25 00:19:36 +00:00
label Add loading yaml label template files (#22976) 2023-03-02 01:44:23 +02:00
license [skip ci] Updated licenses and gitignores 2024-01-08 00:26:06 +00:00
locale Disable the RSS feed in file view for non-branches 2024-01-09 09:32:57 +01:00
readme Bindata is optional and over-writable on restart (#354) 2016-12-22 19:12:23 +01:00