This commit is contained in:
cond0r
2021-02-25 11:16:44 +02:00
parent f242f3c588
commit e6792d6dd0
10 changed files with 19 additions and 28 deletions

View File

@@ -1,15 +1,12 @@
export const getPageQuery = /* GraphQL */ `
query($first: Int!) {
pages(first: $first) {
edges {
node {
id
title
handle
body
url
}
}
query getPageBySlug($slug: String!) {
pageByHandle(handle: $slug) {
id
title
handle
body
bodySummary
url
}
}
`