Changed order of '<% if !home_page && paginated_products.respond_to?(:num_pages) %>'