diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-10 22:35:15 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-10 22:35:15 +0300 |
commit | 418eac8c0b978089644f48e27a0fbdd20e18ac91 (patch) | |
tree | ebe6af6bde5cf4f2d673facec0f901962970a6d8 /layouts/partials/head.html | |
parent | dfe69e6cbe00fd7cb26ba5116c3fd78064462a68 (diff) |
Auto-commit 2024-12-10
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" . }} |