aboutsummaryrefslogtreecommitdiff
path: root/templates/group.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-06 20:29:39 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-06 20:29:39 +0800
commit649d237f9e3f9efbb0af08f5af82b776a3d81654 (patch)
tree5ce56018b221df792202f435da41931f68af436c /templates/group.tmpl
parent*: Reformat (diff)
downloadforge-649d237f9e3f9efbb0af08f5af82b776a3d81654.tar.gz
forge-649d237f9e3f9efbb0af08f5af82b776a3d81654.tar.zst
forge-649d237f9e3f9efbb0af08f5af82b776a3d81654.zip
group/index: Add group description
Diffstat (limited to 'templates/group.tmpl')
-rw-r--r--templates/group.tmpl3
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>