summaryrefslogtreecommitdiffstats
path: root/templates/head.html
diff options
context:
space:
mode:
authorLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 09:02:23 +0530
committerLibravatar Anirudh Oppiliappan <x@icyphox.sh>2022-12-19 09:02:23 +0530
commitdf0962a39ebef3853cbe90b3f7b07f7d2fce96d6 (patch)
treef293cb914ea3cf9da599a90b55793c8dbf5217c8 /templates/head.html
parent232a3603a6dc67537109cec06e738b596265475c (diff)
downloadlegit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.tar.gz
legit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.tar.bz2
legit-df0962a39ebef3853cbe90b3f7b07f7d2fce96d6.zip
all: no more pretty urls
Diffstat (limited to '')
-rw-r--r--templates/head.html4
1 files changed, 2 insertions, 2 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>