blob: 5dc0a27aeaa95a599d544d309e5d91b86e4a842c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
<% 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 do %>
<%= blog_post_teaser(post) %>
<% end %>
<% end %>
<% end %>
<%= render 'sidebar_modules/sidebar_module', :sidebar_module => sidebar_module %>
|