Initial commit

This commit is contained in:
2023-08-28 13:12:21 +02:00
commit 52134c91ef
78 changed files with 13869 additions and 0 deletions

5
tina/queries/frags.gql Normal file
View File

@@ -0,0 +1,5 @@
fragment LayoutQueryFragment on Query {
global(relativePath: "index.json") {
...GlobalParts
}
}

41
tina/queries/queries.gql Normal file
View File

@@ -0,0 +1,41 @@
query pageQuery {
...LayoutQueryFragment
postConnection {
edges {
node {
id
date
title
excerpt
author {
... on Author {
...AuthorParts
}
}
_sys {
filename
}
}
}
}
}
query contentQuery($relativePath: String!) {
...LayoutQueryFragment
page(relativePath: $relativePath) {
...PageParts
}
}
query blogPostQuery($relativePath: String!) {
...LayoutQueryFragment
post(relativePath: $relativePath) {
...PostParts
author {
... on Author {
name
avatar
}
}
}
}