forgejo/routers/web/shared/user
Gergely Nagy 2c0105ef17
[GITEA] Find README.md for user profiles case insensitively
When trying to find a `README.md` in a `.profile` repo, do so case
insensitively. This change does not make it possible to render readmes
in formats other than Markdown, it just removes the hard-coded
"README.md".

Also adds a few tests to make sure the change works.

Fixes #1494.

Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>
(cherry picked from commit edd219d8e9)
2024-01-08 17:12:06 +01:00
..
header.go [GITEA] Find README.md for user profiles case insensitively 2024-01-08 17:12:06 +01:00