support published value
Some checks failed
renovate / renovate (push) Has been cancelled
test-build / build (push) Has been cancelled

This commit is contained in:
2025-08-11 19:29:26 -05:00
parent 43ff986963
commit 931d1009ed
6 changed files with 6 additions and 0 deletions

View File

@@ -21,6 +21,7 @@ const { category } = Astro.props;
const global = await directus.request(readSingleton('site_global'));
const posts = await directus.request(
readItems('posts', {
filter: { published: { _eq: true } },
fields: ['*'],
sort: ['-published_date'],
})