Disallow-items moeten relatieve ipv absolute adressen zijn

This commit is contained in:
Michael Boelen 2023-05-29 19:49:01 +02:00
parent 5f56644a6b
commit b6d07fc821

View file

@ -1,5 +1,5 @@
User-agent: * User-agent: *
{{ range where .Site.Pages "Params.noindex" true -}} {{ range where .Site.Pages "Params.noindex" true -}}
Disallow: {{ .Permalink }} Disallow: {{ .RelPermalink }}
{{- end }} {{- end }}
Sitemap: {{ absURL site.Home.Sitemap.Filename }} Sitemap: {{ absURL site.Home.Sitemap.Filename }}