Add boilerplate
This commit is contained in:
parent
a5fdd8a103
commit
f9ed3ac363
6 changed files with 145 additions and 0 deletions
18
templates/components/base.gohtml
Normal file
18
templates/components/base.gohtml
Normal file
|
@ -0,0 +1,18 @@
|
|||
{{ define "base" }}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name=viewport content="width=device-width, initial-scale=1">
|
||||
|
||||
<title>Monitor - {{ block "title" . }}Home{{ end }}</title>
|
||||
|
||||
<link rel="stylesheet" href="/static/css/main.css">
|
||||
{{ block "stylesheets" . }}{{ end }}
|
||||
</head>
|
||||
<body>
|
||||
{{ block "body" . }}{{ end }}
|
||||
{{ block "scripts" . }}{{ end}}
|
||||
</body>
|
||||
</html>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue