Implement Featured logic, maybe

This commit is contained in:
Fede Álvarez
2022-05-24 00:27:12 +02:00
parent 5531ed630b
commit 58f247da27
2 changed files with 35 additions and 21 deletions
+26
View File
@@ -0,0 +1,26 @@
const PressFeatured = {
query: `
{
allBlogPosts(filter: { featured: { eq: true }}, orderBy: date_DESC) {
featured
date
author {
name
}
category {
title
}
image {
url
}
slug
title
content {
value
}
}
}
`
}
export { PressFeatured }