April 20, 2007

Presentation

Categories - Part 2

So you've come up with some categories to organize your writing, now lets do something with the idea.

In your sidebar template, paste the following snippet:

<h2>Categories</h2>
<ul>
[categories]
<li><a href="/[category.path]">[category.name]</a></li>
[/categories]
</ul>

Save the template, and then go check out your page.  You should see a list on your sidebar showing each of your categories.  Even better, you can click on the category names and all the posts under that category will be displayed.  If you add categories in the future, they'll automatically be included too.

Posted by: RocketJones at 04:29 PM under Presentation | No Comments | Add Comment
Post contains 89 words, total size 1 kb.

Comments are disabled. Post is locked.
4kb generated in CPU 0.0078, elapsed 0.035 seconds.
22 queries taking 0.03 seconds, 22 records returned.
Powered by Minx 1.1.6c-pink.