mirror of
https://github.com/10h30/astroplate.git
synced 2026-07-17 05:33:28 +09:00
homepage content changed
This commit is contained in:
@@ -23,6 +23,7 @@ export const getSinglePage = async <C extends CollectionKey>(
|
||||
},
|
||||
)) as CollectionEntry<C>[];
|
||||
|
||||
//@ts-ignore
|
||||
const removeDrafts = pages.filter((data) => !data.data.draft);
|
||||
return removeDrafts;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user