2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-17 19:21:23 +03: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
+3 -1
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