- a macro: Drop listCategoriesForPost.txt into your Macros folder.
- the code for your Item template that calls it:
<%local (adrpost = @weblogData.posts.["<%paddedItemNum%>"]); listCategoriesForPost (adrpost)%>
Thanks, Jake! A better way than mine: logic pushed from the template to the macro.” [a klog apart]
I may try this one, too, although I'm more intrigued by liveTopics since it also builds an index of posts by category. (Speaking of which, Marc and Matt – I'll get back to trying the installations as soon as I can.) [The Shifted Librarian]