From d9c28d07f0e105c1bd12e12f2eb1a50a346952d1 Mon Sep 17 00:00:00 2001 From: Sebin Nyshkim Date: Wed, 16 Oct 2024 01:45:43 +0200 Subject: [PATCH] feat: :wrench: update robots.txt --- eleventy.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eleventy.config.js b/eleventy.config.js index f074d0b..db01fdb 100644 --- a/eleventy.config.js +++ b/eleventy.config.js @@ -41,7 +41,7 @@ export default async function (eleventyConfig) { eleventyConfig.addPlugin(eleventyPluginRobotsTxt, { sitemapURL: 'https://blog.sebin-nyshkim.net/sitemap.xml', shouldBlockAIRobots: true, - rules: new Map([['*', [{ allow: '/posts' }]]]), + rules: new Map([['*', [{ allow: '/' }, { disallow: '/404.html' }, { disallow: '/og-images' }]]]) }); eleventyConfig.addPlugin(eleventyPluginSyntaxHighlight); eleventyConfig.addPlugin(eleventyPluginOgImage, {