diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-13 20:17:19 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-13 20:17:19 +0800 |
commit | 3c3c383a9d6dec77e93272483699b3aef2c1dd47 (patch) | |
tree | dea1d4018a38b38fb4f8558b6279676dfda344e9 /templates/_head_common.htmpl | |
parent | Note that patches are required on top of hare-http (diff) | |
download | forge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.tar.gz forge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.tar.zst forge-3c3c383a9d6dec77e93272483699b3aef2c1dd47.zip |
Partially port templates used by the index page
Diffstat (limited to 'templates/_head_common.htmpl')
-rw-r--r-- | templates/_head_common.htmpl | 6 |
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 }} |