aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemblob.qtpl
diff options
context:
space:
mode:
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 %}