feat: 🔧 update robots.txt
This commit is contained in:
parent
3c7649a733
commit
d9c28d07f0
1 changed files with 1 additions and 1 deletions
|
@ -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, {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue