diff options
-rw-r--r-- | hugo.toml | 1 | ||||
-rw-r--r-- | layouts/partials/head.html | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -1,5 +1,4 @@ baseURL = "https://neonxp.ru/" -baseModURL = "neonxp.ru/" languageCode = "ru-RU" DefaultContentLanguage = "ru" Title = "neonxp.log" diff --git a/layouts/partials/head.html b/layouts/partials/head.html index a9d6f28..684362e 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,8 +1,8 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> {{if .Params.gomod}} -<meta name="go-import" content="{{site.baseModURL}}/go/{{ .Params.Name }} {{ .Package.VCS }} {{ .Params.Repository }}"> -<meta name="go-source" content="{{site.baseModURL}}/{{ .Params.Name }} {{ .Params.Repository }} {{ .Params.Repository }}/tree/{/dir} {{ .Params.Repository }}/tree/master{/dir}/{file}#n{line}"> +<meta name="go-import" content="neonxp.ru/go/{{ .Params.Name }} {{ .Package.VCS }} {{ .Params.Repository }}"> +<meta name="go-source" content="neonxp.ru/go/{{ .Params.Name }} {{ .Params.Repository }} {{ .Params.Repository }}/tree/{/dir} {{ .Params.Repository }}/tree/master{/dir}/{file}#n{line}"> {{end}} <link rel="icon" type="image/png" href="/favicon.png"> <link rel="authorization_endpoint" href="https://indieauth.com/auth"> |