From 569299b7a9dfd0ed5cc20747a4cdbd71c34e89b1 Mon Sep 17 00:00:00 2001 From: Ayke Halder Date: Mon, 5 Dec 2022 17:00:32 +0100 Subject: [PATCH] DEV: use structured data in topic-list for referencing only (#16235) This simplifies the ItemList to only be a point of reference to the actual DiscussionForumPosting objects. See "Summary page": https://developers.google.com/search/docs/advanced/structured-data/carousel?hl=en#summary-page Co-authored-by: Bianca Nenciu --- app/views/list/list.erb | 7 +------ spec/requests/list_controller_spec.rb | 10 ++++++++++ spec/views/list/list.erb_spec.rb | 13 +++++++++++++ 3 files changed, 24 insertions(+), 6 deletions(-) diff --git a/app/views/list/list.erb b/app/views/list/list.erb index 63a9b91c0c6..d6ea1749631 100644 --- a/app/views/list/list.erb +++ b/app/views/list/list.erb @@ -57,14 +57,9 @@ <% @list.topics.each_with_index do |t,i| %> - - - <% if t.image_url.present? %> - - <% end %> - <%= t.title %> +