Fix robots.txt
All checks were successful
Build and Publish Docker Image / build (push) Successful in 23s

This commit is contained in:
2026-05-18 02:55:13 -06:00
parent eb07aee742
commit 262dc70970
2 changed files with 33 additions and 9 deletions

View File

@@ -1,9 +1,4 @@
{{ if hugo.IsProduction }}
{{ range $robot := .Site.Params.robots }}
User-agent: {{ $robot }}
Disallow: /
{{end}}
{{ else }}
User-agent: *
Disallow: /
{{ end }}
{{ range $robot := .Site.Params.robots }}
User-agent: {{ $robot }}
Disallow: /
{{end}}