Pagina's met 'noindex: true' worden opgenomen in Disallow
This commit is contained in:
parent
65cd867400
commit
146f20ee3f
|
@ -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 }}
|
||||||
|
|
Reference in a new issue