|
<div class="page-header">
<h1>Blog</h1>
</div>
<ul class="thumbnails">
<% @blog_posts.each do |post| %>
<li class="span3">
<div class="thumbnail">
<img src="http://placehold.it/300x200" alt="">
<h3><%= link_to post.title, post_path(post) %></h3>
<p><%= post.content %></p>
</div>
</li>
<% end %>
</ul>
<br>
|