Skip to content

Commit

Permalink
Wire up blog index page
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Coles <alex@alexbcoles.com>
  • Loading branch information
myabc committed Jun 29, 2012
1 parent 06ea537 commit b74593c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions source/blog.html.haml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
%h1 Blog

- blog.articles[0...20].each do |article|
%h3
%time= article.date.strftime('%e %b %Y')
%h1= link_to article.title, article.url
%p= article.summary
%p= link_to 'read more', article.url

0 comments on commit b74593c

Please sign in to comment.