all repos — legit @ 82b8afe19b77fe02e1a29a5b5e20882d8e5c3fc5

web frontend for git

templates/file.html (view raw)

 1{{ define "file" }}
 2<html>
 3{{ template "head" . }}
 4
 5  <header>
 6    <h1>{{ .meta.Title }}</h1>
 7    <h2>{{ .meta.Description }}</h2>
 8  </header>
 9  <body>
10    {{ template "nav" . }}
11    <main>
12      <pre>
13{{ .content }}
14      </pre>
15    </main>
16  </body>
17</html>
18{{ end }}