<% content_for :title do %> Blog | <%=current_site_name%> <% end %> <% content_for :head do %> <%= spud_blog_rss_link %> <% end %>
<%= form_tag blog_path, :class => 'spud_blog_filter_form' do %> <%= spud_post_category_select %> <%= spud_post_archive_select %> <% end %>
<% if @posts.length > 0 %> <% @posts.each do |post| %>

<%= link_to post.title, blog_post_path(post.url_name) %>

Posted by <%= post.author.full_name %> on <%= post.display_date %>

<%= truncate_html post.content_processed.html_safe, :length => 250 %>
<% end %> <% else %>

No posts were found in this category

<% end %>
<%= will_paginate @posts %>