feat: layout html

This commit is contained in:
2025-05-18 14:06:02 +02:00
parent bc9b2d44b2
commit 512d76a380
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,19 @@
{{ define "base" }}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>{{ .Title }}</title>
</head>
<body>
<header>
<h1>{{ .Title }}</h1>
</header>
<main>
{{ block "content" . }}{{ end }}
</main>
{{ template "footer" . }}
</body>
</html>
{{ end }}

View File

@ -0,0 +1,4 @@
{{ define "footer" }}
<footer><p>© 2025 HSP Guard</p></footer>
{{ end }}