Sha256: c5da488319541c4a96df31810e358b07809b75b55f73e7e0454ff2f545435056
Contents?: true
Size: 1.14 KB
Versions: 28
Compression:
Stored size: 1.14 KB
Contents
- @title = @page.browser_title - @breadcrumbs = @page.breadcrumbs - add_css(@page.css) - add_javascript(@page.javascript) - add_head_content(@page.head_content) - content_for :head do - cache "#{@page.cache_key}/head", expires_in: Workarea.config.cache_expirations.pages_fragment_cache do %meta{ property: 'global-id', content: @page.to_global_id.to_param } %link{ href: page_url(@page), rel: 'canonical' } %meta{ name: :description, content: @page.meta_description } %meta{ property: 'og:url', content: url_for(only_path: false) } %meta{ property: 'og:title', content: page_title } %meta{ property: 'og:type', content: 'website' } %meta{ property: 'og:image', content: @page.open_graph_asset.url } %meta{ property: 'og:image:secure_url', content: @page.open_graph_asset.url } - if @page.show_navigation? - content_for :page_aside do - cache "#{@page.cache_key}/aside", expires_in: Workarea.config.cache_expirations.pages_fragment_cache do = left_navigation .view %h1{ class: @page.display_h1? ? nil : 'visually-hidden' }= @page.name = render "workarea/storefront/pages/templates/#{@page.template}", page: @page
Version data entries
28 entries across 28 versions & 1 rubygems