small tweaks

This commit is contained in:
2026-08-23 09:25:52 -05:00
parent 8826ad0bf5
commit 8322e0275b
6 changed files with 9 additions and 11 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ const { data } = await useAsyncData(
() => `writing:${route.path}`,
async () => {
const all = await queryCollection('writing').order('date', 'DESC').all();
const visible = all.filter((page) => import.meta.dev || !page.demo);
const visible = all.filter((page) => import.meta.dev || !page.hidden);
const article = visible.find(
(page) =>
page.path === contentPath.value || page.stem === slug.value,