templates/index.html (view raw)
1<html lang=en>
2 <head>
3 {{ template "head.html" }}
4 <meta name="description" content="{{ index .Meta "title" }}">
5 </head>
6 <title>
7 {{ index .Meta "title" }}
8 </title>
9 <body>
10 <main>
11 <header>
12 {{ template "nav.html" }}
13 </header>
14 <article class="tagline">
15 {{ .Body }}
16 </article>
17 </main>
18 <footer>
19 {{ template "footer.html" }}
20 </footer>
21 </body>
22</html>