Disallow web crawling of the prelim site.

This commit is contained in:
mtail 2018-06-19 09:44:05 -07:00
parent 2dc1327437
commit bfd7b70f4c
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,7 @@
User-agent: *
{{ if .Site.Data.args.preliminary }}
Disallow: /
{{ else }}
Disallow:
{{ end }}
Sitemap: {{ .Site.BaseURL }}/sitemap.xml