Add resolutions to featured images
This commit is contained in:
@@ -34,6 +34,17 @@ export const query = graphql`
|
|||||||
status
|
status
|
||||||
slug
|
slug
|
||||||
date(formatString: "MMMM DD, YYYY")
|
date(formatString: "MMMM DD, YYYY")
|
||||||
|
featured_media {
|
||||||
|
localFile {
|
||||||
|
childImageSharp {
|
||||||
|
resolutions(width: 600, height: 300) {
|
||||||
|
src
|
||||||
|
width
|
||||||
|
height
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user