From 5717faed659a9eeb86c528ab56822c42eca1ad3f Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 12 Aug 2025 11:01:07 +0800 Subject: Refactor --- forged/templates/group.tmpl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'forged/templates/group.tmpl') diff --git a/forged/templates/group.tmpl b/forged/templates/group.tmpl index 3338f9b..31b7169 100644 --- a/forged/templates/group.tmpl +++ b/forged/templates/group.tmpl @@ -3,23 +3,23 @@ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu */}} {{- define "group" -}} -{{- $group_path := .group_path -}} +{{- $group_path := .BaseData.GroupPath -}} {{- template "head_common" . -}} - {{- range $i, $s := .group_path -}}{{- $s -}}{{- if ne $i (len $group_path) -}}/{{- end -}}{{- end }} – {{ .global.forge_title -}} + {{- range $i, $s := $group_path -}}{{- $s -}}{{- if ne $i (len $group_path) -}}/{{- end -}}{{- end }} – {{ .BaseData.Global.ForgeTitle -}} {{- template "header" . -}}
- {{- if .description -}} -

{{- .description -}}

+ {{- if .Description -}} +

{{- .Description -}}

{{- end -}} {{- template "group_view" . -}}
- {{- if .direct_access -}} + {{- if .DirectAccess -}}
-- cgit v1.2.3