views:

434

answers:

3

I am using the standard jekyll installation to maintain a blog, everything is going fine. Except I would really to tag my posts.

I can tag a post by using the YAML front matter, but how do I generate pages for each tag that can will list all posts for a tag?

+5  A: 

Have a look at sites using jekyll. There are a few custom forks which have implemented tagging functionality, hopefully also in the way you want :-)

Bitterzoet
+3  A: 

I had the same question, and stumbled upon this: http://gist.github.com/143571.

It's a rake task which generates a tag list. I modified it slightly, and my version is at: http://github.com/mattfoster/mattfoster.github.com/blob/master/Rakefile.

Whilst this doesn't give you a page per tag, you can use anchors, which is half way there!

Matt
A: 

nice work Matt,

Your blogs awesome by the way; love the drop-down tag cloud.

Jekyll is such a breathe of fresh air when you get down to it, good stuff!

John Griffiths