Skip to content

Instantly share code, notes, and snippets.

@navancommits
Created January 1, 2024 10:10
Item query variation for sitemap retrieval
query(
$itemId: String = "908351357A914446A08D17436464FFAF"
$language: String = "en"
) {
item(path: $itemId, language: $language) {
... on _SitemapXmlData {
fields {
name
id
value
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment