diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-25 13:11:32 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-25 13:11:32 +0800 |
commit | 1cb37d35a99b9362817c237d1a8d8b7365517175 (patch) | |
tree | 27708173127fddabb83aeac9a85a12da61eb51db /templates | |
parent | Add 403 and 501 pages (diff) | |
download | forge-1cb37d35a99b9362817c237d1a8d8b7365517175.tar.gz forge-1cb37d35a99b9362817c237d1a8d8b7365517175.tar.zst forge-1cb37d35a99b9362817c237d1a8d8b7365517175.zip |
Fix index page padding wrapper containment
Diffstat (limited to 'templates')
-rw-r--r-- | templates/index.tmpl | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/templates/index.tmpl b/templates/index.tmpl index 7c2e8fc..8f901f6 100644 --- a/templates/index.tmpl +++ b/templates/index.tmpl @@ -12,30 +12,29 @@ <body class="index"> {{- template "header" . -}} <div class="padding-wrapper"> - <table class="wide"> - <thead> - <tr> - <th colspan="2" class="title-row">Groups</th> - </tr> - <tr> - <th scope="col">Name</th> - <th scope="col">Description</th> - </tr> - </thead> - <tbody> - {{- range .groups -}} + <table class="wide"> + <thead> <tr> - <td> - <a href="{{- .Name | path_escape -}}/">{{- .Name -}}</a> - </td> - <td> - {{- .Description -}} - </td> + <th colspan="2" class="title-row">Groups</th> </tr> - {{- end -}} - </tbody> - </table> - <div class="padding-wrapper"> + <tr> + <th scope="col">Name</th> + <th scope="col">Description</th> + </tr> + </thead> + <tbody> + {{- range .groups -}} + <tr> + <td> + <a href="{{- .Name | path_escape -}}/">{{- .Name -}}</a> + </td> + <td> + {{- .Description -}} + </td> + </tr> + {{- end -}} + </tbody> + </table> <table class="wide"> <thead> <tr> |