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