mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-24 22:20:35 +00: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 |