add dynamic robots.txt
This commit is contained in:
parent
2435803267
commit
a600b0c4d4
@ -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: *
|
||||
Disallow: /admin/
|
||||
|
||||
Sitemap: https://cantorgymnasium.de/sitemap.xml
|
||||
|
||||
{{ end }}
|
Loading…
x
Reference in New Issue
Block a user