I fully admit I am a Ruby newb, and this question could come simply out of my ignorance for Ruby.
That being said, I'm getting started with the nanoc project (and loving it). I'd like to power my blog using this ... but: For the life of me, I can't figure out how to get a list of articles / posts to display on the main page. How do I do this?
I'd like to use erb/html if possible.
Here is some erb that creates a list of 10 most recent articles with the title, date and links. You can also add the article content using
article.compiled_content
. I use hpricot to display only the fist paragraph of each post in my blog