blob: 006b963ff5ccb98dcaa08f58c8b9d6c8320ffc92 (
plain) (
tree)
|
|
<% content_for "sidebar_module_#{sidebar_module.title}_body" do %>
<% sidebar_module.body.each do |post| %>
<%= content_tag :header, :class => :sidebar_blog_headline do %>
<%= link_to post.title, refinery.blog_post_path(post) %>
<% end %>
<%= content_tag :article, :class => [:sidebar_blog_content, :clearfix] do %>
<%= blog_post_teaser(post) %>
<% end %>
<% end %>
<% end %>
<%= render 'sidebar_modules/sidebar_module', :sidebar_module => sidebar_module %>
|