diff options
Diffstat (limited to 'forged/templates/group.tmpl')
-rw-r--r-- | forged/templates/group.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
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 <https://runxiyu.org> */}} {{- define "group" -}} -{{- $group_path := .group_path -}} +{{- $group_path := .BaseData.GroupPath -}} <!DOCTYPE html> <html lang="en"> <head> {{- template "head_common" . -}} - <title>{{- range $i, $s := .group_path -}}{{- $s -}}{{- if ne $i (len $group_path) -}}/{{- end -}}{{- end }} – {{ .global.forge_title -}}</title> + <title>{{- range $i, $s := $group_path -}}{{- $s -}}{{- if ne $i (len $group_path) -}}/{{- end -}}{{- end }} – {{ .BaseData.Global.ForgeTitle -}}</title> </head> <body class="group"> {{- template "header" . -}} <main> <div class="padding-wrapper"> - {{- if .description -}} - <p>{{- .description -}}</p> + {{- if .Description -}} + <p>{{- .Description -}}</p> {{- end -}} {{- template "group_view" . -}} </div> |