diff options
author | Runxi Yu <me@runxiyu.org> | 2025-03-13 12:18:53 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2025-03-13 12:18:53 +0800 |
commit | 478f73b93c37e5e32ce33eb1de963eeb23a5cc40 (patch) | |
tree | 2b6496ded87c220ef0e5d5061806ee1d66683a27 /templates/_head_common.htmpl | |
parent | Begin to use hare-htmpl (diff) | |
download | forge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.tar.gz forge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.tar.zst forge-478f73b93c37e5e32ce33eb1de963eeb23a5cc40.zip |
Add basic template rendering
Diffstat (limited to 'templates/_head_common.htmpl')
-rw-r--r-- | templates/_head_common.htmpl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/_head_common.htmpl b/templates/_head_common.htmpl new file mode 100644 index 0000000..6fcfea1 --- /dev/null +++ b/templates/_head_common.htmpl @@ -0,0 +1,3 @@ +{{ define _tp_head_common(handle: io::handle, title: str = "Untitled") (void | io::error | nomem) }} +<title>{{ title }}</title> +{{ end }} |