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