Skip to content

Tagcloud: Number of posts per tag #216

@uli-heller

Description

@uli-heller

I'm doing a tagcloud on my blog. For this, I need the number of posts per tag.
I didn't find a documented way to get this number, so I'm using

db.getPublishedPostsByTag(tag).size()

within one of my gsp templates for now. The tags show up like this:

jbake-tagcloud-log10

Does it make sense to create a public object and method for this? Similar to "alltags"? Or an extension to it?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions