skeletonz - The simple Python CMS system

Here's a quick way to add the label list of your blog (let's say you called it MyBlog) :

First, add this to the head of your main template (should be site_content.tmpl)

#from site_plugins.blog import plugin as blog
#set $labels = blog.BlogInfo().getLabelList('MyBlog', 'CMS_BlogInfo_Labels')

You can then add the label list wherever you want in you template : just put the $label variable where it is appropriate !

Powered by Skeletonz