Add plugins to create responsive images
This commit is contained in:
@@ -12,7 +12,9 @@ module.exports = {
|
|||||||
protocol: 'https',
|
protocol: 'https',
|
||||||
hostingWPCOM: false,
|
hostingWPCOM: false,
|
||||||
useACF: true,
|
useACF: true,
|
||||||
}
|
},
|
||||||
}
|
},
|
||||||
|
'gatsby-transformer-sharp',
|
||||||
|
'gatsby-plugin-sharp',
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,9 @@
|
|||||||
"gatsby-link": "^1.6.40",
|
"gatsby-link": "^1.6.40",
|
||||||
"gatsby-plugin-netlify": "^1.0.21",
|
"gatsby-plugin-netlify": "^1.0.21",
|
||||||
"gatsby-plugin-react-helmet": "^2.0.10",
|
"gatsby-plugin-react-helmet": "^2.0.10",
|
||||||
|
"gatsby-plugin-sharp": "^1.6.48",
|
||||||
"gatsby-source-wordpress": "^2.0.93",
|
"gatsby-source-wordpress": "^2.0.93",
|
||||||
|
"gatsby-transformer-sharp": "^1.6.27",
|
||||||
"react-helmet": "^5.2.0",
|
"react-helmet": "^5.2.0",
|
||||||
"slideout": "^1.0.1"
|
"slideout": "^1.0.1"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ class Blog extends Component {
|
|||||||
<Card
|
<Card
|
||||||
url={`blog/${node.slug}`}
|
url={`blog/${node.slug}`}
|
||||||
title={node.title}
|
title={node.title}
|
||||||
postId={node.slug}
|
postId={node.id}
|
||||||
date={node.date}
|
date={node.date}
|
||||||
excerpt={node.excerpt}
|
excerpt={node.excerpt}
|
||||||
/>
|
/>
|
||||||
@@ -31,6 +31,7 @@ export const query = graphql`
|
|||||||
id
|
id
|
||||||
title
|
title
|
||||||
excerpt
|
excerpt
|
||||||
|
status
|
||||||
slug
|
slug
|
||||||
date(formatString: "MMMM DD, YYYY")
|
date(formatString: "MMMM DD, YYYY")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user