From 06d1fb60d2cad7c10ab0979ce2997b43c7e55f8c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 20 Dec 2022 14:05:04 -0500 Subject: [PATCH] Disallow CCBot --- config.toml | 2 ++ themes/red/layouts/robots.txt | 5 +++++ 2 files changed, 7 insertions(+) create mode 100644 themes/red/layouts/robots.txt diff --git a/config.toml b/config.toml index 3526349..ff718d8 100644 --- a/config.toml +++ b/config.toml @@ -3,6 +3,8 @@ languageCode = 'en-us' title = '~redstrate' theme = 'red' enableGitInfo = true +enableRobotsTXT = true + [params] description = "My personal corner of the Internet!" diff --git a/themes/red/layouts/robots.txt b/themes/red/layouts/robots.txt new file mode 100644 index 0000000..15ed1e2 --- /dev/null +++ b/themes/red/layouts/robots.txt @@ -0,0 +1,5 @@ +User-agent: CCBot +Disallow: / + +User-agent: Mediapartners-Google +Disallow: /