From 3502933f5a5561ee906861fbe1bfe354864b4dc6 Mon Sep 17 00:00:00 2001 From: what1s1ove Date: Wed, 22 Nov 2023 16:49:35 +0200 Subject: [PATCH] chore: add robots.txt wd-177 --- eleventy.config.cjs | 2 ++ source/robots.txt | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 source/robots.txt diff --git a/eleventy.config.cjs b/eleventy.config.cjs index ac8f84f2..8fffcb78 100644 --- a/eleventy.config.cjs +++ b/eleventy.config.cjs @@ -20,6 +20,7 @@ let Path = { `./source/sounds`, `./source/manifest.webmanifest`, `./source/favicon.ico`, + `./source/robots.txt`, ], CSS: `./source/styles/index.css`, DB: `./source/database.json`, @@ -229,6 +230,7 @@ let init = (config) => { input: `source`, layouts: `layouts`, output: `build`, + data: 'data', }, htmlTemplateEngine: `njk`, markdownTemplateEngine: `njk`, diff --git a/source/robots.txt b/source/robots.txt new file mode 100644 index 00000000..c2a49f4f --- /dev/null +++ b/source/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /