Function: mergeCollapsedCollections()
ts
function mergeCollapsedCollections(
posts,
allPages,
collectionConfigs,
siteConfig): Post[];Defined in: packages/valaxy/client/composables/post/index.ts:85
Merge collapsed collections into the post list. For collapsed collections, add a single synthetic entry representing the collection, using the latest article's date for sorting.
Parameters
posts
Post[]
allPages
Post[]
collectionConfigs
siteConfig
Returns
Post[]