all repos

mugit @ bcd986b2e2f7434b43cfac8791a66592218ca108

🐮 git server that your cow will love

mugit/web/templates/_head.html (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
ui: refactor how data is passed to pages, 3 months ago
1
{{ define "head" }}
2
  <meta charset="utf-8">
3
  <meta name="viewport" content="width=device-width, initial-scale=1">
4
  <link rel="stylesheet" href="/static/style.css" type="text/css">
5
  <link rel="icon" href="/static/favicon.svg">
6
7
  {{ if .Meta.GoMod }}
8
  <meta name="go-import" content="{{.Meta.Host}}/{{.RepoName}} git https://{{.Meta.Host}}/{{.RepoName}}">
9
  {{ end }}
10
11
  <link ref="alternate" type="application/rss" href="https://{{.Meta.Host}}/index.xml">
12
  {{ if .RepoName }}
13
  <link ref="alternate" type="application/rss" href="https://{{.Meta.Host}}/{{.RepoName}}/feed">
14
  {{ end }}
15
{{ end }}