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