diff options
Diffstat (limited to 'templates/head.html')
-rw-r--r-- | templates/head.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/head.html b/templates/head.html index ea910dc..53487eb 100644 --- a/templates/head.html +++ b/templates/head.html @@ -5,7 +5,7 @@ <link rel="stylesheet" href="/static/style.css" type="text/css"> <link rel="stylesheet" href="https://cdn.icyphox.sh/fonts/inter.css" type="text/css"> <link rel="icon" type="image/png" size="32x32" href="/static/legit.png"> - {{ if .servername }} + {{ if and .servername .gomod }} <meta name="go-import" content="{{ .servername}}/{{ .name }} git https://{{ .servername }}/{{ .name }}"> {{ end }} <!-- other meta tags here --> |