Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 03:06:10 +01:00
forgejo/templates/package
merlleu a112cf34d3
Cargo package - Fix missing domain in cargo sparse url (#27370)
Hello, it seems that one my previous PR (adding the sparse index to the
cargo package content page), did not worked as expected: the
gitea-origin-url does not add the AppURL because of the `sparse+` prefix
in the url.
Currently the rendered page gives the following:
```toml
[registry]
default = "gitea"

[registries.gitea]
index = "sparse+/api/packages/ownername/cargo/" # Sparse index
# index = "https://git.example.com/ownername/_cargo-index.git" # Git

[net]
git-fetch-with-cli = true
```
2023-10-01 13:43:15 +00:00
..
content Cargo package - Fix missing domain in cargo sparse url (#27370) 2023-10-01 13:43:15 +00:00
metadata Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
shared Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
settings.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
view.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00