lb:currentcategory

returns the name of the currently listed category, if possible

This is simple. If the user requested a certain category, you can put its name on screen. Just use this little tag. If no category is requested, it does nothing.

New in 0.2: If a single posting is shown, this tag returns the first category attached to the displayed posting.

Usage

<h2><lb:currentcategory /></h2>

Returns

<h2>Hip-Hop</h2>

Attributes

none

Notice

Use in combination with <lb:if_category> to avoid unnecessary tags around the tag.