all repos — legit-config @ 500907e27222f4bda6dfd3dd2b8cc28f6f709a0d

Configs for my instance of [legit](https://git.icyphox.sh/legit)

templates/head.html (view raw)

 1{{ define "head" }}
 2<head>
 3  <meta charset="utf-8" />
 4  <meta name="viewport" content="width=device-width, initial-scale=1" />
 5  <link rel="stylesheet" href="/static/style.css" type="text/css" />
 6  <link rel=icon href=https://5ika.ch/favicon.ico> {{ if .parent }}
 7  <title>
 8    {{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }}): {{ .parent }}/
 9  </title>
10
11  {{ else if .path }}
12  <title>{{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }}): {{ .path }}</title>
13  {{ else if .files }}
14  <title>{{ .meta.Title }} &mdash; {{ .name }} ({{ .ref }})</title>
15  {{ else if .commit }}
16  <title>{{ .meta.Title }} &mdash; {{ .name }}: {{ .commit.This }}</title>
17  {{ else if .branches }}
18  <title>{{ .meta.Title }} &mdash; {{ .name }}: refs</title>
19  {{ else if .commits }} {{ if .log }}
20  <title>{{ .meta.Title }} &mdash; {{ .name }}: log</title>
21  {{ else }}
22  <title>{{ .meta.Title }} &mdash; {{ .name }} @5ika.ch</title>
23  {{ end }} {{ else }}
24  <title>{{ .meta.Title }} @5ika.ch</title>
25  {{ end }} {{ if and .servername .gomod }}
26  <meta
27    name="go-import"
28    content="{{ .servername}}/{{ .name }} git https://{{ .servername }}/{{ .name }}"
29  />
30  {{ end }}
31  <!-- other meta tags here -->
32</head>
33{{ end }}