Add resolutions to featured images

This commit is contained in:
Moris Zen
2018-07-06 10:23:57 +02:00
parent 992359788d
commit 1641186ad5

View File

@@ -34,6 +34,17 @@ export const query = graphql`
status
slug
date(formatString: "MMMM DD, YYYY")
featured_media {
localFile {
childImageSharp {
resolutions(width: 600, height: 300) {
src
width
height
}
}
}
}
}
}
}