From 99fefccd70d3d006a9f3ddccc45eda559af1f197 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 25 Mar 2025 03:03:25 +0800 Subject: Fix group path trailing slash --- templates/group.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/group.tmpl') diff --git a/templates/group.tmpl b/templates/group.tmpl index 98d4c76..3a4a7d1 100644 --- a/templates/group.tmpl +++ b/templates/group.tmpl @@ -13,7 +13,7 @@ {{- template "header" . -}}
-

{{- range $i, $s := .group_path -}}{{- $s -}}{{- if ne $i (len $group_path) }} / {{ end -}}{{- end -}} +

{{- range $i, $s := .group_path -}}{{- $s -}}{{- if ne $i (minus (len $group_path) 1) }} / {{ end -}}{{- end -}} {{- if .description -}}

{{- .description -}}

{{- end -}} -- cgit v1.2.3