mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
hide writing for now
This commit is contained in:
@@ -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<any[]>([]);
|
||||
|
||||
const writingUrl = `${SITE_URL}/writing`;
|
||||
const collectionId = `${writingUrl}#collection`;
|
||||
|
||||
Reference in New Issue
Block a user