add /blog to pages
This commit is contained in:
parent
c741e0894c
commit
8920e8425a
@ -28,7 +28,7 @@ const siteMetadata = require('../data/siteMetadata')
|
||||
.replace('.md', '')
|
||||
.replace('/index.xml', '')
|
||||
const route = path === '/index' ? '' : path
|
||||
if (page === `pages/404.js` || page === `pages/[...slug].js`) {
|
||||
if (page === `pages/404.js` || page === `pages/blog/[...slug].js`) {
|
||||
return
|
||||
}
|
||||
return `
|
||||
|
Loading…
x
Reference in New Issue
Block a user