diff options
author | Runxi Yu <me@runxiyu.org> | 2025-08-12 11:01:07 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-09-15 15:19:12 +0800 |
commit | eb82fdb2dc0903e6125014abd64aceab42c8eb35 (patch) | |
tree | c07276ba1595c415ebc28943163d88f3e3180254 /forged/templates/index.tmpl | |
parent | Remove forge-specific functions from misc (diff) | |
download | forge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.tar.gz forge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.tar.zst forge-eb82fdb2dc0903e6125014abd64aceab42c8eb35.zip |
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> |