From dd0017446dcd605b3670784336d38c1083895abe Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Mon, 18 Aug 2025 05:10:14 +0800 Subject: Start doing the group index page... --- forged/templates/group.tmpl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'forged/templates/group.tmpl') diff --git a/forged/templates/group.tmpl b/forged/templates/group.tmpl index 3338f9b..68a0261 100644 --- a/forged/templates/group.tmpl +++ b/forged/templates/group.tmpl @@ -3,19 +3,19 @@ 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" . -}}
-- cgit v1.2.3