Broke out main layout in header/footer

This commit is contained in:
2023-10-06 10:43:45 -06:00
parent b80b4150d5
commit b450ed7d2b
3 changed files with 20 additions and 11 deletions

View File

@ -1,11 +1,5 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ .title }}</title>
</head>
<body>
<p>This is a test!</p>
</body>
</html>
{{ template "header" . }}
<p>This is a test!</p>
{{ template "footer" . }}