web frontend for git (tangled's grandpa)
7
fork

Configure Feed

Select the types of activity you want to include in your feed.

templates: fix 404 and 500

+14 -4
+3 -1
templates/404.html
··· 1 + {{ define "404" }} 1 2 <html> 2 3 <title>404</title> 3 - {{ template "header" . }} 4 + {{ template "head" . }} 4 5 <body> 5 6 404 &mdash; nothing like that here 6 7 </body> 7 8 </html> 9 + {{ end }}
+2
templates/500.html
··· 1 + {{ define "500" }} 1 2 <html> 2 3 <title>500</title> 3 4 {{ template "header" . }} ··· 5 6 500 &mdash; something broke! 6 7 </body> 7 8 </html> 9 + {{ end }}
+4 -3
templates/nav.html
··· 1 1 {{ define "nav" }} 2 2 <nav> 3 3 <ul> 4 - <li>some 5 - <li>thing 6 - <li>here 4 + <li><a href="/">all repos</a> 5 + <li><a href="/{{ .name }}">{{ .name }}</a> 6 + <li><a href="/{{ .name }}/tree/{{ .ref }}/">tree</a> 7 + <li><a href="/{{ .name }}/log/{{ .ref }}">log</a> 7 8 </ul> 8 9 </nav> 9 10 {{ end }}
+5
templates/repo.html
··· 44 44 {{ end }} 45 45 {{ end }} 46 46 </table> 47 + <article> 48 + <pre> 49 + {{- if .readme }}{{ .readme }}{{- end -}} 50 + </pre> 51 + </article> 47 52 </main> 48 53 </body> 49 54 </html>