I am building an authors list page and I need to get a list of authors with their post counts. I’m using the #get function helper with an include for the post counts. But the variable count.posts which I use to output post counts in the template doesn’t seem to be accessible using the #has helper function. Here’s my example:
I was under that impression too, but it appears that the account I used to create the blog with is listed as an author with 0 posts for all of the sites I’ve migrated to ghost.
This is exactly how I ended up solving it. I came back to update in case anyone else runs into this issue. The solution was {{#if count.posts}}. Thanks for the help!