hotfix: fix robots.txt for staging

pull/5846/head
Scott Anderson 2025-02-20 10:08:09 -07:00
parent 6678666b5d
commit bdf32c35c1
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
User-agent: *
{{- if eq .Site.Params.environment "staging" }}Disallow: /
{{ if eq .Site.Params.environment "staging" }}Disallow: /
{{- else }}{{ range where .Site.Pages ".Params.noindex" true }}
Disallow: {{ .RelPermalink }}
{{ end -}}