add robots.txt layout
This commit is contained in:
parent
6e1b938d43
commit
af1e0092d9
4
layouts/_default/robots.txt
Normal file
4
layouts/_default/robots.txt
Normal file
@ -0,0 +1,4 @@
|
||||
User-Agent: *
|
||||
{{ range ((where site.Pages "Params.hiddenPage" "==" "true") | union (where site.Pages "Params.hiddenPage" true)) -}}
|
||||
Disallow: {{ .RelPermalink }}
|
||||
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user