27 lines
493 B
HTML
27 lines
493 B
HTML
{{define "header"}}
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{{.Meta.Title}}</title>
|
|
</head>
|
|
<body>
|
|
{{end}}
|
|
|
|
{{define "footer"}}
|
|
</body>
|
|
</html>
|
|
{{end}}
|
|
|
|
{{define "page"}}
|
|
{{template "header" .}}
|
|
<div class="container">
|
|
<div class="page-header">
|
|
<h1>{{.Meta.Title}}</h1>
|
|
</div>
|
|
{{.Meta.Content}}
|
|
</div>
|
|
{{template "footer" .}}
|
|
{{end}}
|