all repos — elgit @ ac6ca71f01885b3fff692b4b9ee36ed33965d396

fork of legit: web frontend for git, written in go

templates/file.html (view raw)

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