diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-18 03:12:41 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-08-18 03:12:41 +0800 |
commit | f7dde29539536a67687cbeff9662a9617e077150 (patch) | |
tree | d976eb1f64062a65da4e689bd650ad84be737c52 /forged/templates/index.tmpl | |
parent | Move sql to inside forged (diff) | |
download | forge-f7dde29539536a67687cbeff9662a9617e077150.tar.gz forge-f7dde29539536a67687cbeff9662a9617e077150.tar.zst forge-f7dde29539536a67687cbeff9662a9617e077150.zip |
Make the index page work
Diffstat (limited to 'forged/templates/index.tmpl')
-rw-r--r-- | forged/templates/index.tmpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/forged/templates/index.tmpl b/forged/templates/index.tmpl index 66bd177..fa9b6a0 100644 --- a/forged/templates/index.tmpl +++ b/forged/templates/index.tmpl @@ -7,7 +7,7 @@ <html lang="en"> <head> {{- template "head_common" . -}} - <title>Index – {{ .global.forge_title -}}</title> + <title>Index – {{ .BaseData.Global.ForgeTitle -}}</title> </head> <body class="index"> {{- template "header" . -}} @@ -24,7 +24,7 @@ </tr> </thead> <tbody> - {{- range .groups -}} + {{- range .Groups -}} <tr> <td> <a href="{{- .Name | path_escape -}}/">{{- .Name -}}</a> @@ -47,11 +47,11 @@ <tbody> <tr> <th scope="row">SSH public key</th> - <td><code class="breakable">{{- .global.server_public_key_string -}}</code></td> + <td><code class="breakable">{{- .BaseData.Global.SSHPubkey -}}</code></td> </tr> <tr> <th scope="row">SSH fingerprint</th> - <td><code class="breakable">{{- .global.server_public_key_fingerprint -}}</code></td> + <td><code class="breakable">{{- .BaseData.Global.SSHFingerprint -}}</code></td> </tr> </tbody> </table> |