app/views/workarea/storefront/searches/show.html.haml in workarea-nvy_theme-1.1.4 vs app/views/workarea/storefront/searches/show.html.haml in workarea-nvy_theme-1.2.0
- old
+ new
@@ -1,9 +1,8 @@
- @title = t('workarea.storefront.searches.title')
- content_for :head do
- %meta{ property: 'recent-view', content: recent_view_content(search: @search.query_string) }
%meta{ name: 'robots', content: 'noindex' }
= append_partials('storefront.search_head', search: @search)
%meta{ property: 'og:url', content: url_for(only_path: false) }
%meta{ property: 'og:title', content: page_title }
@@ -11,15 +10,15 @@
%meta{ property: 'og:image', content: @search.open_graph_asset.url }
%meta{ property: 'og:image:secure_url', content: @search.open_graph_asset.url }
- content_for :breadcrumbs do
%p.breadcrumbs__node-group
- %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
+ %span.breadcrumbs__node
= link_to t('workarea.storefront.layouts.home'), root_path, rel: 'home', class: 'breadcrumbs__link'
- %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
+ %span.breadcrumbs__node
%span.breadcrumbs__text= t('workarea.storefront.searches.title')
- %span.breadcrumbs__node{ itemprop: 'breadcrumb' }
+ %span.breadcrumbs__node
%span.breadcrumbs__text= @search.query_string
- content_for :page_aside do
- if @search.facets.any?
.result-filters
@@ -95,10 +94,10 @@
.grid
- @search.products.each_with_index do |product, position|
= append_partials('storefront.search_grid_item', product: product, position: position)
.grid__cell.grid__cell--50.grid__cell--33-at-medium{ data: { pagination_item: '' } }
- .product-summary{ itemscope: true, itemtype: 'http://schema.org/Product', data: { search_results_product_grid_summary: { id: product.catalog_id, position: position }.to_json } }
+ .product-summary{ data: { search_results_product_grid_summary: { id: product.catalog_id, position: position }.to_json } }
= render 'workarea/storefront/products/summary', product: product
- if show_pagination?(@search.products)
.pagination__button
= link_to t('workarea.storefront.pagination.next_page'), pagination_path_for(page: @search.next_page), class: 'button button--large', data: { pagination_button: '' }