aboutsummaryrefslogtreecommitdiff
path: root/templates/index.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-15 00:32:39 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-15 00:32:39 +0800
commitd5416d850c9b697bc8fb189841e1c1e622494f5e (patch)
treeb877df54a6fbef112b0d32796f514b66177c9976 /templates/index.html.tmpl
parentMakefile, resources.go: Add vendor directory to serve library source (diff)
downloadforge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.gz
forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.tar.zst
forge-d5416d850c9b697bc8fb189841e1c1e622494f5e.zip
templates: *.html.tmpl -> *.tmpl
Diffstat (limited to 'templates/index.html.tmpl')
-rw-r--r--templates/index.html.tmpl59
1 files changed, 0 insertions, 59 deletions
diff --git a/templates/index.html.tmpl b/templates/index.html.tmpl
deleted file mode 100644
index 5f30f0c..0000000
--- a/templates/index.html.tmpl
+++ /dev/null
@@ -1,59 +0,0 @@
-{{- define "index" -}}
-<!DOCTYPE html>
-<html lang="en">
- <head>
- {{ template "head_common" . }}
- <title>Index &ndash; {{ .global.forge_title }}</title>
- </head>
- <body class="index">
- {{ template "header" . }}
- <div class="padding-wrapper">
- <table class="wide">
- <thead>
- <tr>
- <th colspan="2" class="title-row">
- Groups
- </th>
- </tr>
- </thead>
- <tbody>
- {{- range .groups }}
- <tr>
- <td>
- <a href="{{ .Name }}/:/repos/">{{ .Name }}</a>
- </td>
- <td>
- {{ .Description }}
- </td>
- </tr>
- {{- end }}
- </tbody>
- </table>
- </div>
- <div class="padding-wrapper">
- <table class="wide">
- <thead>
- <tr>
- <th colspan="2" class="title-row">
- Info
- </th>
- </tr>
- </thead>
- <tbody>
- <tr>
- <th scope="row">SSH public key</th>
- <td><code>{{ .global.server_public_key_string }}</code></td>
- </tr>
- <tr>
- <th scope="row">SSH fingerprint</th>
- <td><code>{{ .global.server_public_key_fingerprint }}</code></td>
- </tr>
- </tbody>
- </table>
- </div>
- <footer>
- {{ template "footer" . }}
- </footer>
- </body>
-</html>
-{{- end -}}