mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 16:50:00 +02:00
Revert v5.getbootstrap.com changes
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# www.robotstxt.org
|
||||
|
||||
{{- $allowCrawling := false -}}
|
||||
{{- $isProduction := eq hugo.Environment "production" -}}
|
||||
{{- $isNetlify := eq (getenv "NETLIFY") "true" -}}
|
||||
{{- $allowCrawling := and (not $isNetlify) $isProduction -}}
|
||||
|
||||
{{ if $allowCrawling }}
|
||||
# Allow crawling of all content
|
||||
|
Reference in New Issue
Block a user