Commit 8a2de61f4b9fa25001129c6698496f4aa7a40009
Committed by
Gabriela Navarro
1 parent
1898d13e
Exists in
master
and in
29 other branches
Remove article with title "feed" from list of display_content block
Signed-off-by: Gabriela Navarro <navarro1703@gmail.com> Signed-off-by: Luciano Prestes <lucianopcbr@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/display_content/lib/display_content_block.rb
@@ -134,7 +134,7 @@ class DisplayContentBlock < Block | @@ -134,7 +134,7 @@ class DisplayContentBlock < Block | ||
134 | proc do | 134 | proc do |
135 | block.block_title(block.title) + | 135 | block.block_title(block.title) + |
136 | content_tag('ul', docs.map {|item| | 136 | content_tag('ul', docs.map {|item| |
137 | - if !item.folder? | 137 | + if !item.folder? && item.class != RssFeed |
138 | content_sections = '' | 138 | content_sections = '' |
139 | read_more_section = '' | 139 | read_more_section = '' |
140 | tags_section = '' | 140 | tags_section = '' |