gatsby-starter-blog-forestry/gatsby-config.js
2017-11-13 07:48:25 +01:00

56 lines
1.3 KiB
JavaScript

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/",
},
plugins: [
{
resolve: `gatsby-source-filesystem`,
options: {
path: `${__dirname}/src/pages`,
name: "pages",
},
},
{
resolve: `gatsby-transformer-remark`,
options: {
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 590,
},
},
{
resolve: `gatsby-remark-responsive-iframe`,
options: {
wrapperStyle: `margin-bottom: 1.0725rem`,
},
},
"gatsby-remark-prismjs",
"gatsby-remark-copy-linked-files",
"gatsby-remark-smartypants",
],
},
},
`gatsby-transformer-sharp`,
`gatsby-plugin-sharp`,
{
resolve: `gatsby-plugin-google-analytics`,
options: {
//trackingId: `ADD YOUR TRACKING ID HERE`,
},
},
`gatsby-plugin-feed`,
`gatsby-plugin-offline`,
`gatsby-plugin-react-helmet`,
{
resolve: "gatsby-plugin-typography",
options: {
pathToConfigModule: "src/utils/typography",
},
},
],
}