<h1>Recent Posts</h1>
<div id="posts">
  <ul>
    <% for post in @posts %>
    <li>
      <div id="post_<%= post.id %>">
        <h2><%= post.title %></h2>
        <h3 class="byline">posted by <%= post.author %></h3>
        <div class="content">
          <%= post.content  %>
        </div>  
      </div>  
    </li>
    <% end %>
  </ul> 
</div>