]> source.dussan.org Git - gitea.git/commit
fix wrong link in user and organization profile when using relative url (#28617)
authorkatsu <evergonuaa@gmail.com>
Wed, 27 Dec 2023 08:32:27 +0000 (16:32 +0800)
committerGitHub <noreply@github.com>
Wed, 27 Dec 2023 08:32:27 +0000 (08:32 +0000)
commit42149ff1a816501643ec2407ed61a83bf5b65059
tree410cb4affcbca99862046061225d750ec7f881f3
parentbaf0d402d9cb47849394202fcfc7c2e23b0faac3
fix wrong link in user and organization profile when using relative url (#28617)

fix #28436.
the doc https://docs.gitea.com/usage/profile-readme maybe also need to
be updated to tell that
the main branch is necessary,which means the following three conditions
should be satisfied:
- repo: **.profile**
- branch: **[default branch]**
- markdown: **README.md**
routers/web/org/home.go
routers/web/shared/user/header.go
routers/web/user/profile.go