aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemblob.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2025-07-02 20:45:16 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2025-07-02 20:45:16 +0200
commitd1638198df3a65fe89bfb28f6e1dd285877b55bc (patch)
treed7532d4f346e3ad8cf36ae95e365e79f8aa334e5 /templates/gititemblob.qtpl
parentcb6060a60d71ce1be1591bb10f499916155160de (diff)
downloadcerrado-0.3.tar.gz
cerrado-0.3.tar.bz2
cerrado-0.3.zip
feat: Show git clone url on summaryHEADv0.3master
Diffstat (limited to 'templates/gititemblob.qtpl')
-rw-r--r--templates/gititemblob.qtpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/gititemblob.qtpl b/templates/gititemblob.qtpl
index ca3a1fa..c5f412b 100644
--- a/templates/gititemblob.qtpl
+++ b/templates/gititemblob.qtpl
@@ -13,9 +13,9 @@ type GitItemBlobPage struct {
<div class="pathing">
{% stripspace %}
{% if len(g.Path) != 0 %}
- <a href="{%s url(name, Folder, ref, Root, []string{}) %}">root/</a>
+ <a href="{%s generateURL(name, Folder, ref, Root, []string{}) %}">root/</a>
{% for i, e := range g.Path[:len(g.Path)-1] %}
- <a href="{%s url(name, Folder, ref, Root, g.Path[:1+i]) %}">{%s e %}/</a>
+ <a href="{%s generateURL(name, Folder, ref, Root, g.Path[:1+i]) %}">{%s e %}/</a>
{% endfor %}
<a>{%s u.LastOrZero(g.Path) %}</a>
{% else %}