<% if @support_threads.none? %>
<%= t('search_not_found') %>. <%= t('check_out') %> <%= link_to t('latest_questions'), help_center.support_threads_path %> <%= t('instead') %>
<% else %>
<% if request.url.include?('category') %> <%# If category, list all articles %>

<%= @support_threads.first.support_category.name %>


<%= render partial: "help_center/support_threads/support_thread", collection: @support_threads, spacer_template: "shared/spacer" %>
<%== pagy_nav(@pagy) %>
<% else %> <%# Set default index here %> <% end %>
<% end %>