i want to get post by tag use for Content API Client Library
const res = await $ghost.posts.browse({
slug: params.slug,
limit: 12,
include: 'tags,authors'
})
I try many params but get all post not by tag
i want to get post by tag use for Content API Client Library
const res = await $ghost.posts.browse({
slug: params.slug,
limit: 12,
include: 'tags,authors'
})
I try many params but get all post not by tag
i reslove
const res = await $ghost.posts.browse({
filter: tag:${params.slug},
page: 1,
limit: 12
})