git-preview @ main

static git web frontend but with images and html previews + code truncation

templates/repo.html

 1{{ define "repo" }}
 2<html>
 3{{ template "head" . }}
 4
 5{{ template "repoheader" . }}
 6
 7  <body>
 8    {{ template "nav" . }}
 9    <main>
10{{- if .readme }}
11      <article class="readme">
12        {{- .readme -}}
13      </article>
14{{- end }}
15      {{ template "showcase" . }}
16
17    </main>
18  </body>
19</html>
20{{ end }}