% layout 'blog', title => 'Blog';
% for my $post (@$posts) {
  <p>
    <h2><%= link_to $post->{title} => show_post => {id => $post->{id}} %></h2>
    %= $post->{body}
  </p>
% }
%= link_to 'New post' => 'create_post'