enable post counts
This commit is contained in:
parent
d034e593c8
commit
19385ec6e5
|
@ -44,7 +44,7 @@ export const getGhostTagbySlug = async (slug:Nullable<string>) => {
|
||||||
|
|
||||||
// Get Authors (General "ALL")
|
// Get Authors (General "ALL")
|
||||||
export const getGhostAuthors = async () => {
|
export const getGhostAuthors = async () => {
|
||||||
const ghostAuthors:Authors = await api.authors.browse();
|
const ghostAuthors:Authors = await api.authors.browse({include:`count.posts`});
|
||||||
return ghostAuthors; }
|
return ghostAuthors; }
|
||||||
|
|
||||||
// Get Pages (ALL)
|
// Get Pages (ALL)
|
||||||
|
|
Loading…
Reference in New Issue