aboutsummaryrefslogtreecommitdiff
path: root/templates/_group_path.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-07 21:18:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-07 21:18:51 +0800
commit5699c497a45e08e9e502974e8055d1291dde29dd (patch)
tree5f8c6555142ead9e1359f9e778e4f7375dd60069 /templates/_group_path.tmpl
parenthttp/templates: Minify templates (diff)
downloadforge-5699c497a45e08e9e502974e8055d1291dde29dd.tar.gz
forge-5699c497a45e08e9e502974e8055d1291dde29dd.tar.zst
forge-5699c497a45e08e9e502974e8055d1291dde29dd.zip
http/templates: Reduce whitespace
Diffstat (limited to '')
-rw-r--r--templates/_group_path.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/_group_path.tmpl b/templates/_group_path.tmpl
index f8b5f47..3a14edc 100644
--- a/templates/_group_path.tmpl
+++ b/templates/_group_path.tmpl
@@ -3,6 +3,6 @@
SPDX-FileContributor: Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group_path_plain" -}}
-{{ $p := . }}
-{{ range $i, $s := . }}{{ $s }}{{ if ne $i (len $p) }}/{{ end }}{{ end }}
-{{ end }}
+{{- $p := . -}}
+{{- range $i, $s := . -}}{{- $s -}}{{- if ne $i (len $p) -}}/{{- end -}}{{- end -}}
+{{- end -}}