-# Your templates are in HAML out of box. -# But you can use any other templating language as well. -# Use Sugar.JS and Coffee! - @posts.each (post) => .well -# Encapsulate your code with widgets != @widget 'div', => new TitleEditorWidget(post) %hr %p -# Enjoy models interface = post.body().truncate(20) %a.btn.btn-mini{:href => "#!/posts/#{post.id()}"} Read it!