feat(SW-200): Added other options for description and images

This commit is contained in:
Erik Tiekstra
2024-11-14 15:02:45 +01:00
parent b22888db5f
commit 6aba0d8f52
10 changed files with 137 additions and 60 deletions

View File

@@ -1,15 +1,8 @@
#import "../../Fragments/Image.graphql"
#import "../../Fragments/MetaData.graphql"
#import "../../Fragments/System.graphql"
query GetContentPageMetaData($locale: String!, $uid: String!) {
content_page(locale: $locale, uid: $uid) {
header {
heading
preamble
}
system {
...System
}
web {
breadcrumbs {
title
@@ -17,14 +10,25 @@ query GetContentPageMetaData($locale: String!, $uid: String!) {
seo_metadata {
description
title
imageConnection {
edges {
node {
...Image
}
...MetaDataImageConnection
}
}
header {
heading
preamble
}
hero_image
blocks {
... on ContentPageBlocksContent {
content {
content {
json
}
}
}
}
system {
...System
}
}
}