<% @contents.each do |content| %>

<%= content.title %>

Posted: <%= content.created_at.to_s(:long) %> <%= published_content_created_by %>
Topics: <%= content.content.pretty_tag_list %>

<%= raw content.excerpt_html %>

<%= link_to 'Read More...', main_app.blog_article_path(@website_section.id, content.permalink) %>
<% end %> <%= blog_pagination 'blog_pagination', params %>

Topics

<%= blog_topics 'tag_link' %>

Links

<%= blog_rss_links 'RSS Feed' %>
<% #Optional Parameters: # content_type: Leave blank to search all section types, set to Blog to only search Blog articles # section_unique_name: Leave blank to search all pages if passed will confine search to a particular # pages content # search_url: Main search url, only needed if results are being redirected # redirect_results: If true will redirect to search page to display results. Used for inline search # boxes # per_page: Number of results per page %> <%= render_widget :search, :params => set_widget_params({ :content_type => 'Blog', :section_unique_name => @blog.internal_identifier, :per_page => 2 }) %>