Commit 39ea55d3cf7ea87f710945a154b2d988fc89149c
1 parent
1fb173b3
Exists in
master
and in
28 other branches
display content plugin - fix duplicated lead section
Showing
1 changed file
with
0 additions
and
1 deletions
Show diff stats
plugins/display_content/lib/display_content_block.rb
... | ... | @@ -59,7 +59,6 @@ class DisplayContentBlock < Block |
59 | 59 | when 'Abstract' |
60 | 60 | content_sections += (display_section?(section) ? (content_tag('div', item.abstract ,:class => 'lead')) : '' ) |
61 | 61 | if display_section?(section) |
62 | - content_sections += (display_section?(section) ? (content_tag('div', item.abstract ,:class => 'lead')) : '' ) | |
63 | 62 | read_more_section = content_tag('div', link_to(_('Read more'), item.url), :class => 'read_more') |
64 | 63 | end |
65 | 64 | when 'Body' | ... | ... |