wikingo/views/base.html

21 lines
599 B
HTML

{{ define "base.html" }}
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>{{ template "title" . }}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/water.css@2/out/water.css">
</head>
<body>
<nav>
<ul>
<li><a href="/">Home</a></li>
<li><a href="/list">List</a></li>
<li><a href="/about">About</a></li>
</ul>
</nav>
{{ template "body" . }}
</body>
</html>
{{end}}