aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hugo.toml1
-rw-r--r--layouts/partials/head.html4
2 files changed, 2 insertions, 3 deletions
diff --git a/hugo.toml b/hugo.toml
index 137c38c..5b26f94 100644
--- a/hugo.toml
+++ b/hugo.toml
@@ -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">