1
0
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:
XhmikosR
2020-11-24 21:05:11 +02:00
parent 8dc85c657e
commit bc4272531b
6 changed files with 13 additions and 11 deletions

View File

@@ -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