mirror of
https://github.com/kremalicious/blog.git
synced 2025-01-05 19:25:40 +01:00
add gatsby-plugin-meta-redirect
This commit is contained in:
parent
95e40bb633
commit
49e7831394
@ -4,6 +4,9 @@ const yaml = require('js-yaml')
|
|||||||
const meta = yaml.load(fs.readFileSync('./content/meta.yml', 'utf8'))
|
const meta = yaml.load(fs.readFileSync('./content/meta.yml', 'utf8'))
|
||||||
const { url } = meta
|
const { url } = meta
|
||||||
|
|
||||||
|
// required for gatsby-plugin-meta-redirect
|
||||||
|
require('regenerator-runtime/runtime')
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
siteMetadata: {
|
siteMetadata: {
|
||||||
siteUrl: `${url}`
|
siteUrl: `${url}`
|
||||||
@ -109,6 +112,7 @@ module.exports = {
|
|||||||
'gatsby-plugin-sharp',
|
'gatsby-plugin-sharp',
|
||||||
'gatsby-plugin-sitemap',
|
'gatsby-plugin-sitemap',
|
||||||
'gatsby-plugin-catch-links',
|
'gatsby-plugin-catch-links',
|
||||||
'gatsby-redirect-from'
|
'gatsby-redirect-from',
|
||||||
|
'gatsby-plugin-meta-redirect'
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -27,6 +27,7 @@
|
|||||||
"gatsby-plugin-catch-links": "^2.0.2-rc.1",
|
"gatsby-plugin-catch-links": "^2.0.2-rc.1",
|
||||||
"gatsby-plugin-lunr": "^1.1.0",
|
"gatsby-plugin-lunr": "^1.1.0",
|
||||||
"gatsby-plugin-matomo": "^0.5.0",
|
"gatsby-plugin-matomo": "^0.5.0",
|
||||||
|
"gatsby-plugin-meta-redirect": "^1.1.0",
|
||||||
"gatsby-plugin-react-helmet": "^3.0.0-rc.1",
|
"gatsby-plugin-react-helmet": "^3.0.0-rc.1",
|
||||||
"gatsby-plugin-sass": "^2.0.0-rc.1",
|
"gatsby-plugin-sass": "^2.0.0-rc.1",
|
||||||
"gatsby-plugin-sharp": "^2.0.0-rc.2",
|
"gatsby-plugin-sharp": "^2.0.0-rc.2",
|
||||||
|
Loading…
Reference in New Issue
Block a user