GoStart/web/views/templates/#layout.html

17 lines
589 B
HTML

{{define "layout"}}
<!DOCTYPE html>
<html lang="en" data-theme="">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>GO Web App - {{.Title}}</title>
<link rel="icon" href="/static/img/favicon.ico" type="image/x-icon" />
<link href="/static/tailwind.min.css" rel="stylesheet" />
<script src="/static/htmx.min.js"></script>
</head>
<body class="font-mono text-center text-textPrimary bg-bgPrimary">
{{template "header" .}} {{template "view" .}} {{template "footer" .}}
</body>
</html>
{{end}}