aboutsummaryrefslogtreecommitdiff
path: root/templates/_group_path.tmpl
blob: f5d3bf87bf345802a852d80c61600450fe2890a6 (plain) (blame)
1
2
3
4
5
6
7
8

{{/*
	SPDX-License-Identifier: AGPL-3.0-only
	SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org>
*/}}
{{- define "group_path_plain" -}}
{{- $p := . -}}
{{- range $i, $s := . -}}{{- $s -}}{{- if ne $i (minus (len $p) 1) -}}/{{- end -}}{{- end -}}
{{- end -}}