Add robots.txt and basic sitemap
This commit is contained in:
parent
842a8bb6a0
commit
69384e44f9
2 changed files with 13 additions and 1 deletions
|
@ -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: {}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -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": {
|
||||
|
|
Loading…
Reference in a new issue