Add pathPrefix
This commit is contained in:
parent
53c290251d
commit
696b75cb1f
1 changed files with 11 additions and 10 deletions
|
|
@ -1,16 +1,17 @@
|
|||
module.exports = {
|
||||
siteMetadata: {
|
||||
title: "Gatsby Starter Blog",
|
||||
author: "Kyle Mathews",
|
||||
description: "A starter blog demonstrating what Gatsby can do.",
|
||||
siteUrl: "https://gatsbyjs.github.io/gatsby-starter-blog/",
|
||||
title: 'Gatsby Starter Blog',
|
||||
author: 'Kyle Mathews',
|
||||
description: 'A starter blog demonstrating what Gatsby can do.',
|
||||
siteUrl: 'https://gatsbyjs.github.io/gatsby-starter-blog/',
|
||||
},
|
||||
pathPrefix: '/gatsby-starter-blog',
|
||||
plugins: [
|
||||
{
|
||||
resolve: `gatsby-source-filesystem`,
|
||||
options: {
|
||||
path: `${__dirname}/src/pages`,
|
||||
name: "pages",
|
||||
name: 'pages',
|
||||
},
|
||||
},
|
||||
{
|
||||
|
|
@ -29,9 +30,9 @@ module.exports = {
|
|||
wrapperStyle: `margin-bottom: 1.0725rem`,
|
||||
},
|
||||
},
|
||||
"gatsby-remark-prismjs",
|
||||
"gatsby-remark-copy-linked-files",
|
||||
"gatsby-remark-smartypants",
|
||||
'gatsby-remark-prismjs',
|
||||
'gatsby-remark-copy-linked-files',
|
||||
'gatsby-remark-smartypants',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
@ -47,9 +48,9 @@ module.exports = {
|
|||
`gatsby-plugin-offline`,
|
||||
`gatsby-plugin-react-helmet`,
|
||||
{
|
||||
resolve: "gatsby-plugin-typography",
|
||||
resolve: 'gatsby-plugin-typography',
|
||||
options: {
|
||||
pathToConfigModule: "src/utils/typography",
|
||||
pathToConfigModule: 'src/utils/typography',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue