From 545bf1f8be67730324d6d00b8634b7a919c0d9ee Mon Sep 17 00:00:00 2001 From: arne Date: Mon, 7 Aug 2023 19:07:56 +0200 Subject: [PATCH] Add robots.txt --- .eleventy.js | 1 + src/robots.txt | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 src/robots.txt diff --git a/.eleventy.js b/.eleventy.js index c163470..a00e26a 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -24,6 +24,7 @@ module.exports = function (config) { config.addPlugin(pluginToc) config.addPlugin(pluginSyntaxHighlight) + config.addPassthroughCopy('src/robots.txt') config.addPassthroughCopy('src/assets/key.txt') config.addPassthroughCopy('src/assets/prism-base16-ateliersulphurpool.light.css') config.addPassthroughCopy('src/posts/**/*.{jpeg,jpg,png,webp}') diff --git a/src/robots.txt b/src/robots.txt new file mode 100644 index 0000000..f4625e6 --- /dev/null +++ b/src/robots.txt @@ -0,0 +1,2 @@ +User-agent: GPTBot +Disallow: /