1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00
twbs--bootstrap/site/layouts/robots.txt

9 lines
234 B
Text
Raw Normal View History

# www.robotstxt.org
{{ if (eq (getenv "HUGO_ENV") "production") -}}
# Allow crawling of all content
{{- end }}
User-agent: *
Disallow:{{ if (ne (getenv "HUGO_ENV") "production") }} /{{ end }}
Sitemap: {{ .Site.BaseURL }}/sitemap.xml