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