all repos — legit @ eda8b58d9f2e85f1bae92ce3b70f279b89031046

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