diff options
| author | Runxi Yu <me@runxiyu.org> | 2025-08-12 11:01:07 +0800 |
|---|---|---|
| committer | Runxi Yu <me@runxiyu.org> | 2025-09-26 17:25:37 +0800 |
| commit | e238ccb06b05e88ec323ca95ad4600bd79743372 (patch) | |
| tree | 46f82d4d0f4ec43e94dcde5677de1ba857862638 /forged/templates/_group_view.tmpl | |
| parent | Remove forge-specific functions from misc (diff) | |
| download | forge-e238ccb06b05e88ec323ca95ad4600bd79743372.tar.gz forge-e238ccb06b05e88ec323ca95ad4600bd79743372.tar.zst forge-e238ccb06b05e88ec323ca95ad4600bd79743372.zip | |
Refactor
Diffstat (limited to 'forged/templates/_group_view.tmpl')
| -rw-r--r-- | forged/templates/_group_view.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forged/templates/_group_view.tmpl b/forged/templates/_group_view.tmpl index 92b6639..de5d45d 100644 --- a/forged/templates/_group_view.tmpl +++ b/forged/templates/_group_view.tmpl @@ -3,7 +3,7 @@ SPDX-FileCopyrightText: Copyright (c) 2025 Runxi Yu <https://runxiyu.org> */}} {{- define "group_view" -}} -{{- if .subgroups -}} +{{- if .Subgroups -}} <table class="wide"> <thead> <tr> @@ -15,7 +15,7 @@ </tr> </thead> <tbody> - {{- range .subgroups -}} + {{- range .Subgroups -}} <tr> <td> <a href="{{- .Name | path_escape -}}/">{{- .Name -}}</a> @@ -28,7 +28,7 @@ </tbody> </table> {{- end -}} -{{- if .repos -}} +{{- if .Repos -}} <table class="wide"> <thead> <tr> @@ -40,7 +40,7 @@ </tr> </thead> <tbody> - {{- range .repos -}} + {{- range .Repos -}} <tr> <td> <a href="-/repos/{{- .Name | path_escape -}}/">{{- .Name -}}</a> |
