summaryrefslogtreecommitdiffstats
path: root/templates/package/content/conan.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/package/content/conan.tmpl')
-rw-r--r--templates/package/content/conan.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/package/content/conan.tmpl b/templates/package/content/conan.tmpl
index c496cee55c..138890f334 100644
--- a/templates/package/content/conan.tmpl
+++ b/templates/package/content/conan.tmpl
@@ -4,7 +4,7 @@
<div class="ui form">
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.conan.registry"}}</label>
- <div class="markup"><pre class="code-block"><code>conan remote add gitea {{AppUrl}}api/packages/{{.PackageDescriptor.Owner.Name}}/conan</code></pre></div>
+ <div class="markup"><pre class="code-block"><code>conan remote add gitea <gitea-origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/conan"></gitea-origin-url></code></pre></div>
</div>
<div class="field">
<label>{{svg "octicon-terminal"}} {{.locale.Tr "packages.conan.install"}}</label>