Big update
All checks were successful
Build and Deploy Nuxt / build (push) Successful in 35s

This commit is contained in:
2026-03-20 23:10:38 +01:00
parent 63cb32779f
commit c105669065
25 changed files with 268 additions and 135 deletions

View File

@@ -4,11 +4,8 @@ import { useAsyncData } from '#app';
const { locale } = useI18n();
const {data: posts} = useAsyncData('posts', async () =>
await queryCollection(`blog_${locale.value}`).order('date', 'DESC').all()
);
console.log(await queryCollection(`blog_${locale.value}`).order('date', 'DESC').all());
await queryCollection(`blog`).where('path', 'LIKE', `/blog/${locale.value}/%`).order('date', 'DESC').all()
, {watch: [locale]});
</script>
<template>