diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-06 20:29:39 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-06 20:29:39 +0800 |
commit | 649d237f9e3f9efbb0af08f5af82b776a3d81654 (patch) | |
tree | 5ce56018b221df792202f435da41931f68af436c /templates | |
parent | *: Reformat (diff) | |
download | forge-649d237f9e3f9efbb0af08f5af82b776a3d81654.tar.gz forge-649d237f9e3f9efbb0af08f5af82b776a3d81654.tar.zst forge-649d237f9e3f9efbb0af08f5af82b776a3d81654.zip |
group/index: Add group description
Diffstat (limited to 'templates')
-rw-r--r-- | templates/group.tmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/group.tmpl b/templates/group.tmpl index f881458..5ddae0f 100644 --- a/templates/group.tmpl +++ b/templates/group.tmpl @@ -14,6 +14,9 @@ {{ template "header" . }} <div class="padding-wrapper"> <p>{{ range $i, $s := .group_path }}{{ $s }}{{ if ne $i (len $group_path) }} / {{ end }}{{ end }} + {{ if .description }} + <p>{{ .description }}</p> + {{ end }} {{ template "group_view" . }} </div> <footer> |