Sha256: 72754c94d02c7bf7aab20b47aa9d448757528ec36c851a526606c6bcb884b011

Contents?: true

Size: 1.57 KB

Versions: 28

Compression:

Stored size: 1.57 KB

Contents

- add_css(layout_content.css)
- add_javascript(layout_content.javascript)

!!!
/
  Platform: Workarea Ecommerce
  Web:      http://workarea.com
  Email:    sales@workarea.com
  Phone:    215-925-1800

%html{ lang: 'en' }
  %head
    %meta{ charset: 'utf-8' }
    %title= page_title
    %meta{ name: 'robots', content: 'noodp' }
    = csrf_meta_tags
    %meta{ name: 'viewport', content: 'width=device-width, initial-scale=1.0' }
    %meta{ property: 'locale', content: I18n.locale }
    %meta{ property: 'environment', content: Rails.env }
    = alternate_locales_tags
    = render 'workarea/storefront/favicons/tags'
    %link{ rel: 'manifest', href: web_manifest_path }
    %meta{ name: 'theme-color', content: Workarea.config.web_manifest.theme_color }

    :css
      @-ms-viewport { width: device-width; }
      @viewport { width: device-width; }
    = yield :head
    = stylesheet_link_tag Workarea.config.asset_manifests.storefront_stylesheet, media: 'all'
    = yield :css

    = append_partials('storefront.document_head')
    = javascript_include_tag Workarea.config.asset_manifests.storefront_javascript_head

  %body

    %ul.accessibility-nav.visually-hidden
      %li= link_to t('workarea.storefront.layouts.accessibility_info'), accessibility_path
      %li= link_to t('workarea.storefront.layouts.primary_navigation'), '#navigation', accesskey: 'M'

    .page-messages
      = flash_messages if flash.present?

    #navigation= yield

    = javascript_include_tag Workarea.config.asset_manifests.storefront_javascript
    = yield :javascript
    = append_partials('storefront.javascript')

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
workarea-storefront-3.5.27 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.26 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.25 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.23 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.22 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.21 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.20 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.19 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.18 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.17 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.16 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.15 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.14 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.13 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.12 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.11 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.10 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.9 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.8 app/views/layouts/workarea/storefront/navigation.html.haml
workarea-storefront-3.5.7 app/views/layouts/workarea/storefront/navigation.html.haml