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