Skip to content

Commit bdf32c3

Browse files
committed
hotfix: fix robots.txt for staging
1 parent 6678666 commit bdf32c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
User-agent: *
2-
{{- if eq .Site.Params.environment "staging" }}Disallow: /
2+
{{ if eq .Site.Params.environment "staging" }}Disallow: /
33
{{- else }}{{ range where .Site.Pages ".Params.noindex" true }}
44
Disallow: {{ .RelPermalink }}
55
{{ end -}}

0 commit comments

Comments
 (0)