mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-01 15:01:03 +00:00
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
|
||
|---|---|---|
| .. | ||
| commits_search_test.git | ||
| git_hooks_test.git | ||
| glob.git | ||
| lfs.git | ||
| repo1.git | ||
| repo1.wiki.git | ||
| repo2.git | ||
| repo15.git | ||
| repo16.git | ||
| repo20.git | ||
| utf8.git | ||