Sha256: 2653af5a6d35cb44b3c484f9323d30fb4876e65f99d40a98aa18d61a901be63b

Contents?: true

Size: 1.55 KB

Versions: 34

Compression:

Stored size: 1.55 KB

Contents

-# TODO: v4 remove, replaced by empty.html.haml

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

- add_css(@content.css)
- add_javascript(@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
    = 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 }
    %meta{ property: 'analytics', content: 'disable' }
    = 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{ data: { disable_admin_toolbar: '' }, class: ('content-preview-visibility' unless params[:disable_visibility_classes].presence) }

    .clearfix{ data: { content_block: '' } }= yield

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

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
workarea-storefront-3.4.45 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.44 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.43 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.42 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.41 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.40 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.39 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.38 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.37 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.36 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.35 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.34 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.33 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.32 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.31 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.30 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.29 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.28 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.27 app/views/layouts/workarea/storefront/content_preview.html.haml
workarea-storefront-3.4.26 app/views/layouts/workarea/storefront/content_preview.html.haml