I’ve been looking into displaying the categories of the current blog post. (partly because I’d like to use them in a table partly to work on my noob status in xwiki)
I can display them using $doc.display(‘category’) , this however prefixes the class they belong to
To make matters worse I’m fairly certain there’s already a macro for this, as the footer of the BlogPostClass already shows a clickable variant of what I’m looking for!
despite my best efforts I have yet to find how this is done though, can someone help me on my way either to figure out how to unpack the class prefix or how to acces the footer macro?
I ended up having to smush it all in one line to get it neatly in a table, is there a way around that to keep the code more readable? (so that the output is gathered)
i.e. this is whats in my implementation ( | for the table entry);