ref: master
plugins/comment_paragraph/views/blocks/discussion.html.erb
<% children = block.discussions %><%= block_title(block.title.blank? ? c_("Discussions") : block.title, block.subtitle ) %><% if block.mode?('title_only') %><% elsif block.mode?('title_and_abstract') %><% children.each do |item| %>
- <%= link_to(h(item.title), item.url)%>
<% end %><% children.each do |item| %><% else %><%= link_to(item.title,item.url, :class => 'post-title')%>
<%= show_date(item.published_at, true)%><%=item.lead%><%= link_to(_('Read more'), item.url) %>
<% end %><% children.each do |item| %><% end %><%= link_to(item.title,item.url, :class => 'post-title')%>
<%= show_date(item.published_at, true)%><%=item.body.html_safe %><%= link_to(_('Read more'), item.url) %>
<% end %>