diff options
Diffstat (limited to 'layouts/partials/head.html')
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 6731ae0..0e445ee 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -4,6 +4,10 @@ <link rel="authorization_endpoint" href="https://indieauth.com/auth"> <link rel="token_endpoint" href="https://tokens.indieauth.com/token"> <link rel="micropub" href="https://neonxp.ru/micropub"> +{{if .Params.gomod}} +<meta name="go-import" content="neonxp.ru/go/{{.Params.Name}} git {{.Params.Repository}}"> +<meta name="go-source" content="neonxp.ru/go/{{.Params.Name}} {{.Params.Repository}}/tree/"> +{{end}} <title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> {{ partialCached "head/css.html" . }} {{ partialCached "head/js.html" . }} |