7
0
Fork 0

Pagina's met 'noindex: true' worden opgenomen in Disallow

This commit is contained in:
Michael Boelen 2023-05-24 14:46:39 +02:00
parent 65cd867400
commit 146f20ee3f

View file

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