From 3c3c383a9d6dec77e93272483699b3aef2c1dd47 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Thu, 13 Mar 2025 20:17:19 +0800 Subject: Partially port templates used by the index page --- templates/index.htmpl | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) (limited to 'templates/index.htmpl') diff --git a/templates/index.htmpl b/templates/index.htmpl index 3562c86..e67cc09 100644 --- a/templates/index.htmpl +++ b/templates/index.htmpl @@ -1,14 +1,50 @@ {{ define tp_index(handle: io::handle) (void | io::error | nomem) }} -{! - let title: str = "Test"; -!} -{{ render _tp_head_common(handle, title) }} +{{ render _tp_head_common(handle) }} +Index – {{ global.title }} -

{{ title }}

+{{ render _tp_header(handle, "test", "test") }} +
+ + + + + + + + + + + + +
Groups
NameDescription
+
+ + + + + + + + + + + + + + + + +
+ Info +
SSH public key{{ global.ssh_pubkey }}
SSH fingerprint{{ global.ssh_fp }}
+
+ {{ end }} -- cgit v1.2.3