feat: 🔧 update robots.txt

This commit is contained in:
Sebin Nyshkim 2024-10-16 01:45:43 +02:00
parent 3c7649a733
commit d9c28d07f0

View file

@ -41,7 +41,7 @@ export default async function (eleventyConfig) {
eleventyConfig.addPlugin(eleventyPluginRobotsTxt, { eleventyConfig.addPlugin(eleventyPluginRobotsTxt, {
sitemapURL: 'https://blog.sebin-nyshkim.net/sitemap.xml', sitemapURL: 'https://blog.sebin-nyshkim.net/sitemap.xml',
shouldBlockAIRobots: true, shouldBlockAIRobots: true,
rules: new Map([['*', [{ allow: '/posts' }]]]), rules: new Map([['*', [{ allow: '/' }, { disallow: '/404.html' }, { disallow: '/og-images' }]]])
}); });
eleventyConfig.addPlugin(eleventyPluginSyntaxHighlight); eleventyConfig.addPlugin(eleventyPluginSyntaxHighlight);
eleventyConfig.addPlugin(eleventyPluginOgImage, { eleventyConfig.addPlugin(eleventyPluginOgImage, {