aboutsummaryrefslogtreecommitdiff
path: root/templates/_head.html.tmpl
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-02-11 15:09:08 +0800
committerRunxi Yu <me@runxiyu.org>2025-02-11 15:09:08 +0800
commit1dced62659d8ee45803b7d58b4698d613f0d90d4 (patch)
treec16233d48e79e764bcbbb56d4525c860d3f63e1f /templates/_head.html.tmpl
parentrepo_log: Add a log (diff)
downloadforge-1dced62659d8ee45803b7d58b4698d613f0d90d4.tar.gz
forge-1dced62659d8ee45803b7d58b4698d613f0d90d4.tar.zst
forge-1dced62659d8ee45803b7d58b4698d613f0d90d4.zip
_{head,footer}.html: Add underscore to indicate that it's partial
Diffstat (limited to 'templates/_head.html.tmpl')
-rw-r--r--templates/_head.html.tmpl5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/_head.html.tmpl b/templates/_head.html.tmpl
new file mode 100644
index 0000000..b2cd487
--- /dev/null
+++ b/templates/_head.html.tmpl
@@ -0,0 +1,5 @@
+{{- define "head_common" -}}
+<meta charset="utf-8" />
+<meta name="viewport" content="width=device-width, initial-scale=1" />
+<link rel="stylesheet" href="/static/style.css" />
+{{- end -}}