Use robots.txt template

This commit is contained in:
JP Hastings-Spital 2023-08-19 19:52:30 +01:00
parent ce5d50539e
commit b7e9b3cf17
2 changed files with 4 additions and 7 deletions

4
layouts/robots.txt Normal file
View file

@ -0,0 +1,4 @@
Sitemap: {{"/sitemap.xml" | absURL}}
User-agent: GPTBot
Disallow: /

View file

@ -1,7 +0,0 @@
Sitemap: /sitemap.xml
User-agent: GPTBot
Disallow: /
User-Agent: DuckDuckBot
Allow: /