<% @listings = Listing.where(published: true).select(:title, :classified_listing_category_id, :slug, :bumped_at) %> <% if params[:timeframe].blank? && @listings.any? %>

<%= t("views.main.side.listings.heading") %>

<% @listings.order(bumped_at: :desc).limit(5).each do |listing| %>
<%= listing.title %>
<% end %> <%= t("views.main.side.listings.new") %>
<% end %>