Add robots.txt and basic sitemap

This commit is contained in:
Thog 2020-02-08 18:28:41 +01:00
parent 842a8bb6a0
commit 69384e44f9
2 changed files with 13 additions and 1 deletions

View file

@ -15,5 +15,15 @@ module.exports = {
siteTwitter: "@RyujinxEmu",
coverImage: "/public/logo.png"
},
plugins: []
plugins: [
'gridsome-plugin-robots-txt',
{
use: '@gridsome/plugin-sitemap',
options: {
cacheTime: 0, // we don't want the sitemap to be cached!
exclude: [],
config: {}
}
}
]
}

View file

@ -9,7 +9,9 @@
"explore": "gridsome explore"
},
"dependencies": {
"@gridsome/plugin-sitemap": "^0.2.3",
"gridsome": "^0.7.0",
"gridsome-plugin-robots-txt": "^1.0.2",
"vuetify": "^1.0.0"
},
"devDependencies": {