all repos — legit @ ce71721c6dc80db8af63f2098a1548308e2621b2

fork of git.icyphox.sh/legit

templates/file.html

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 }}