add dynamic robots.txt
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
9c6f83cfdc
commit
b4ac73b62a
@ -1,4 +1,13 @@
|
|||||||
|
{{ if or (eq .Site.BaseURL "https://dev.cantorgymnasium.de/") (eq .Site.BaseURL "https://test.cantorgymnasium.de/") }}
|
||||||
|
|
||||||
|
User-agent: *
|
||||||
|
Disallow: /
|
||||||
|
|
||||||
|
{{ else }}
|
||||||
|
|
||||||
User-agent: *
|
User-agent: *
|
||||||
Disallow: /admin/
|
Disallow: /admin/
|
||||||
|
|
||||||
Sitemap: https://cantorgymnasium.de/sitemap.xml
|
Sitemap: https://cantorgymnasium.de/sitemap.xml
|
||||||
|
|
||||||
|
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user