mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-01 17:32:41 +02:00
Switch to Hugo.
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
This commit is contained in:
8
site/layouts/robots.txt
Normal file
8
site/layouts/robots.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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
|
Reference in New Issue
Block a user