diff --git a/assets/robots.txt b/assets/robots.txt new file mode 100644 index 00000000..8a1dab90 --- /dev/null +++ b/assets/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Allow: / +Host: https://docs.zettlr.com/ + +User-agent: GPTBot +Disallow: / diff --git a/scripts/build.sh b/scripts/build.sh index 1bc82558..ab35973f 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,3 +19,5 @@ done cp ./assets/index.html ./build # ... as well as the logo cp ./assets/logo.png ./build +# ... and the robots.txt +cp ./assets/robots.txt ./build