From 2f076b01359f18d0d17c10aba42925a0386725e1 Mon Sep 17 00:00:00 2001 From: Jaron Date: Sat, 22 Aug 2026 13:18:37 -0500 Subject: [PATCH] hide writing for now --- app/pages/writing/index.vue | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/app/pages/writing/index.vue b/app/pages/writing/index.vue index 0c949e3..5d433a4 100644 --- a/app/pages/writing/index.vue +++ b/app/pages/writing/index.vue @@ -7,10 +7,13 @@ import { websiteId, } from '~/utils/site'; -const { data: pages } = await useAsyncData('writing-pages', async () => { - const all = await queryCollection('writing').order('date', 'DESC').all(); - return import.meta.dev ? all : all.filter((page) => !page.demo); -}); +// TODO: Uncomment when ready to show writing +// const { data: pages } = await useAsyncData('writing-pages', async () => { +// const all = await queryCollection('writing').order('date', 'DESC').all(); +// return import.meta.dev ? all : all.filter((page) => !page.demo); +// }); + +const pages = ref([]); const writingUrl = `${SITE_URL}/writing`; const collectionId = `${writingUrl}#collection`;