Creating the Category index
In my last post I mentioned that I preferred my list of categories to go along the top of the summary of posts rather than in a column to the left or right. I also wanted them to appear in the same colours that were used in the blog posts. This is the code that I used: