Skip to content

Instantly share code, notes, and snippets.

@yann-yinn
Last active October 21, 2020 09:49
Show Gist options
  • Save yann-yinn/25ed2604c75d38f8f909f8c3c85aa257 to your computer and use it in GitHub Desktop.
Save yann-yinn/25ed2604c75d38f8f909f8c3c85aa257 to your computer and use it in GitHub Desktop.
fireblog-graphql-get-posts
{
postsCount(filter: { blog: { eq: "{{BLOG_ID}}" } })
posts(
limit: 20
skip: 0
filter: { blog: { eq: "{{BLOG_ID}}" } }
) {
slug
title
teaser
content
updatedAt
publishedAt
imageThumbnail: image(w: 200) {
url
}
imageFull: image {
url
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment