owl-blogs/render/templates/base.tmpl

21 lines
546 B
Cheetah
Raw Normal View History

2023-07-06 20:16:52 +00:00
{{define "base"}}
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>{{template "title" .}} - Owl Blog</title>
2023-07-13 19:20:00 +00:00
<link rel='stylesheet' href='/static/pico.min.css'>
2023-07-06 20:16:52 +00:00
</head>
<body>
2023-07-13 19:20:00 +00:00
<header class="container">
<a href="/">Owl Blog</a>
2023-07-06 20:16:52 +00:00
</header>
2023-07-13 19:20:00 +00:00
<main class="container">
2023-07-06 20:16:52 +00:00
{{template "main" .}}
</main>
2023-07-13 19:20:00 +00:00
<footer class="container">
Powered by <a href='https://golang.org/'>Go</a>
</footer>
2023-07-06 20:16:52 +00:00
</body>
</html>
{{end}}