aboutsummaryrefslogtreecommitdiff
path: root/templates/_head_common.htmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-03-13 20:17:19 +0800
committerRunxi Yu <me@runxiyu.org>2025-03-13 20:17:19 +0800
commit3c3c383a9d6dec77e93272483699b3aef2c1dd47 (patch)
treedea1d4018a38b38fb4f8558b6279676dfda344e9 /templates/_head_common.htmpl
parentNote that patches are required on top of hare-http (diff)
downloadforge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.tar.gz
forge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.tar.zst
forge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.zip
Partially port templates used by the index page
Diffstat (limited to '')
-rw-r--r--templates/_head_common.htmpl6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/_head_common.htmpl b/templates/_head_common.htmpl
index 6fcfea1..bc14cb6 100644
--- a/templates/_head_common.htmpl
+++ b/templates/_head_common.htmpl
@@ -1,3 +1,5 @@
-{{ define _tp_head_common(handle: io::handle, title: str = "Untitled") (void | io::error | nomem) }}
-<title>{{ title }}</title>
+{{ define _tp_head_common(handle: io::handle) (void | io::error | nomem) }}
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<link rel="stylesheet" href="/:/static/style.css" />
{{ end }}