Pagina's met 'noindex: true' worden opgenomen in Disallow
This commit is contained in:
parent
65cd867400
commit
146f20ee3f
1 changed files with 3 additions and 0 deletions
|
@ -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 }}
|
||||||
|
|
Loading…
Reference in a new issue