modweb/templates/static/html.go
2020-10-25 01:26:01 +02:00

21 lines
520 B
Go

package static
const HtmlPage = `
{{- define "title" }}{{ end -}}
{{- define "head" }}{{ end -}}
{{- define "body" }}{{ end -}}
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>{{ template "title" . }}</title>
{{ template "head" . }}
</head>
<body>
{{ template "body" . }}
</body>
</html>`