consolidate view and views directories

This commit is contained in:
ari melody 2025-04-02 21:21:19 +01:00
parent 5cc9a1ca76
commit 8eb432539c
Signed by: ari
GPG key ID: 60B5F0386E3DDB7E
10 changed files with 34 additions and 27 deletions

34
view/layout.html Normal file
View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{{block "head" .}}{{end}}
<script type="module", src="/script/main.js"></script>
</head>
<body>
{{template "header"}}
{{block "content" .}}
<main>
<h1>
# hello, world!
</h1>
<p>
this is a default page!
</p>
</main>
{{end}}
{{template "footer"}}
<div id="overlay"></div>
{{template "prideflag"}}
</body>
</html>