forgejo/templates/package/content
merlleu a112cf34d3
Cargo package - Fix missing domain in cargo sparse url ()
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
..
alpine.tmpl
cargo.tmpl Cargo package - Fix missing domain in cargo sparse url () 2023-10-01 13:43:15 +00:00
chef.tmpl
composer.tmpl
composer_dependencies.tmpl
conan.tmpl
conda.tmpl
container.tmpl
cran.tmpl
debian.tmpl
generic.tmpl
go.tmpl
helm.tmpl
maven.tmpl
npm.tmpl
npm_dependencies.tmpl
nuget.tmpl
pub.tmpl
pypi.tmpl
rpm.tmpl
rubygems.tmpl
rubygems_dependencies.tmpl
swift.tmpl
vagrant.tmpl