templates/page.html (view raw)
1<!DOCTYPE html>
2<html lang=en>
3 <head>
4 {{ template "head.html" }}
5 <meta name="description" content="{{ index .Meta "subtitle" }}">
6 </head>
7 <title>
8 {{ index .Meta "title" }}
9 </title>
10 <body>
11 <main>
12 <div class="sidenav">
13 {{ template "nav.html" }}
14 </div>
15 <article align="left">
16 <h1>{{ index .Meta "title" }}</h1>
17 {{ .Body }}
18 </article>
19 </main>
20 <footer>
21 {{ template "footer.html" }}
22 </footer>
23</body>
24
25</html>