mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-15 17:49:20 +08:00
1322cd7a58
Backport #23152
`renderReadmeFile` needs `readmeTreelink` as parameter but gets
`treeLink`.
The values of them look like as following:
`treeLink`: `/{OwnerName}/{RepoName}/src/branch/{BranchName}`
`readmeTreelink`:
`/{OwnerName}/{RepoName}/src/branch/{BranchName}/{ReadmeFileName}`
`path.Dir` in
|
||
---|---|---|
.. | ||
limited_org | ||
migration/lfs-test.git | ||
org26 | ||
privated_org | ||
user2 | ||
user3/repo3.git | ||
user5/repo4.git | ||
user12/repo10.git | ||
user13/repo11.git | ||
user27 | ||
user30 |