diff options
| author | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-07-02 20:45:16 +0200 | 
|---|---|---|
| committer | Gabriel A. Giovanini <mail@gabrielgio.me> | 2025-07-02 20:45:16 +0200 | 
| commit | d1638198df3a65fe89bfb28f6e1dd285877b55bc (patch) | |
| tree | d7532d4f346e3ad8cf36ae95e365e79f8aa334e5 /templates/gititemblob.qtpl | |
| parent | cb6060a60d71ce1be1591bb10f499916155160de (diff) | |
| download | cerrado-d1638198df3a65fe89bfb28f6e1dd285877b55bc.tar.gz cerrado-d1638198df3a65fe89bfb28f6e1dd285877b55bc.tar.bz2 cerrado-d1638198df3a65fe89bfb28f6e1dd285877b55bc.zip  | |
feat: Show git clone url on summaryv0.3
Diffstat (limited to 'templates/gititemblob.qtpl')
| -rw-r--r-- | templates/gititemblob.qtpl | 4 | 
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 %}  | 
