gcg-website/layouts/robots.txt
Denys Konovalov b4ac73b62a
All checks were successful
continuous-integration/drone/push Build is passing
add dynamic robots.txt
2023-02-16 14:35:27 +01:00

13 lines
250 B
Plaintext

{{ if or (eq .Site.BaseURL "https://dev.cantorgymnasium.de/") (eq .Site.BaseURL "https://test.cantorgymnasium.de/") }}
User-agent: *
Disallow: /
{{ else }}
User-agent: *
Disallow: /admin/
Sitemap: https://cantorgymnasium.de/sitemap.xml
{{ end }}