Adding categories/tags support to wheat #13

Merged
3 commits merged into from Nov 2, 2010

4 participants

@acmarques

Hi Tim,

I've been looking into the sources of howtonode.org and there I found wheat. I loved the idea of a blog engine entirely based on gitfs and markdown and, so, I decided to try it out and build my own personal blog.

As a result, I've added support of categories/tags into wheat. To work, it is only necessary to add the article's categories in the header of the markdown file, as comma-separated values. You can see an example here:
http://github.com/acmarques/randomthoughts/raw/master/articles/deploying_node_with_nginx_and_god.markdown
There is also a new route, '/category/#{value}', used to index articles in the selected category.

You can see it working here, in my personal blog written using wheat: http://blog.acmarques.com .

Lastly, I would like to thank you by the many contributions you are doing in node.js, I'm learning a lot reading your code and howtonode.org!

Hope my changes are useful. Any doubts or problems, please let me know.

Tks,

Antonio

@TooTallNate

+1!!!!

I was thinking of implementing this someday, but this looks like exactly the way I would have done it. Great job!

@creationix
Owner

Awesome, this was on my todo list.

@mchelen

How do you add the "Categories" block?

@acmarques

mchelen,

Take a look at this example:
https://github.com/acmarques/randomthoughts/raw/master/articles/deploying_node_with_nginx_and_god.markdown

It's a post from my personal blog that uses wheat with the categories block.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment