Tried some updates

This commit is contained in:
Henrik Larsson
2023-08-13 14:36:35 +02:00
parent ac9d8c4386
commit 524b9c5818
9 changed files with 41 additions and 34 deletions

View File

@@ -164,11 +164,9 @@ export const reusableSection = `
export const homePageQuery = `*[_type == "home" && language == $locale][0] {
_type,
title,
"slug": slug.current,
"locale": language,
"translations": *[_type == "translation.metadata" && references(^._id)].translations[].value->{
title,
"slug": slug.current,
"locale": language
},
content[] {