mirror of
https://github.com/jaronpate/folio.git
synced 2026-10-19 01:07:39 +00:00
hide projects too
This commit is contained in:
@@ -9,7 +9,7 @@ import {
|
||||
|
||||
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.hidden);
|
||||
return all.filter((page) => !page.hidden);
|
||||
});
|
||||
|
||||
const writingUrl = `${SITE_URL}/writing`;
|
||||
|
||||
Reference in New Issue
Block a user