summaryrefslogblamecommitdiffstats
path: root/templates/file.html
blob: 2ccf1c65685c1dbd43d48ed41dcc3ef4195e1470 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

















                                    
{{ define "file" }}
<html>
{{ template "head" . }}

  <header>
    <h1>{{ .meta.Title }}</h1>
    <h2>{{ .meta.Description }}</h2>
  </header>
  <body>
    {{ template "nav" . }}
    <main>
      <pre>
        {{ .content }}
      </pre>
    </main>
  </body>
</html>
{{ end }}