aboutsummaryrefslogtreecommitdiff
path: root/templates/gititemtree.qtpl
diff options
context:
space:
mode:
authorGabriel A. Giovanini <mail@gabrielgio.me>2024-07-07 20:28:42 +0200
committerGabriel A. Giovanini <mail@gabrielgio.me>2024-07-07 20:29:43 +0200
commit78f3b007bf42846feff8342b64223252c3a74e2a (patch)
tree30c63c44a29ce84ce29052458c9ba901d16740e2 /templates/gititemtree.qtpl
parent8dff852753a1c4a708fd87e3cbb0f4844803aa95 (diff)
downloadcerrado-78f3b007bf42846feff8342b64223252c3a74e2a.tar.gz
cerrado-78f3b007bf42846feff8342b64223252c3a74e2a.tar.bz2
cerrado-78f3b007bf42846feff8342b64223252c3a74e2a.zip
ref: Simplify path builder codev0.0.11
Diffstat (limited to 'templates/gititemtree.qtpl')
-rw-r--r--templates/gititemtree.qtpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/gititemtree.qtpl b/templates/gititemtree.qtpl
index 86fb29c..5898506 100644
--- a/templates/gititemtree.qtpl
+++ b/templates/gititemtree.qtpl
@@ -15,7 +15,7 @@
%}
{% code func url(name, mode, ref, filename string, path []string) string {
- return u.Root().
+ return u.NewPathing().
AddPath(name).
AddPath(mode).
AddPath(ref).