diff options
Diffstat (limited to 'templates/index.htmpl')
-rw-r--r-- | templates/index.htmpl | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/index.htmpl b/templates/index.htmpl new file mode 100644 index 0000000..3562c86 --- /dev/null +++ b/templates/index.htmpl @@ -0,0 +1,14 @@ +{{ define tp_index(handle: io::handle) (void | io::error | nomem) }} +{! + let title: str = "Test"; +!} +<!DOCTYPE html> +<html lang="en"> +<head> +{{ render _tp_head_common(handle, title) }} +</head> +<body> +<h1>{{ title }}</h1> +</body> +</html> +{{ end }} |