diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/head.html | 4 | ||||
-rw-r--r-- | templates/repo.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/head.html b/templates/head.html index 0bde52e..1121480 100644 --- a/templates/head.html +++ b/templates/head.html @@ -4,8 +4,8 @@ <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="/static/style.css" type="text/css"> <link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css"> - {{ if .goimport }} - {{ .goimport }} + {{ if .servername }} + <meta name="go-import" content="{{ .servername}}/{{ .name }} git https://{{ .servername }}/{{ .name }}"> {{ end }} <!-- other meta tags here --> </head> diff --git a/templates/repo.html b/templates/repo.html index 8dc5f54..c588a0f 100644 --- a/templates/repo.html +++ b/templates/repo.html @@ -36,7 +36,7 @@ <div class="clone-url"> <strong>clone</strong> <pre> -git clone {{ .clone -}} +git clone https://{{ .servername }}/{{ .name }} </pre> </div> </main> |