Sha256: 17a189a9907267497a97d4b7065c11ac949cbd95fa68c62af6e5a7a5d9db9959

Contents?: true

Size: 1.59 KB

Versions: 28

Compression:

Stored size: 1.59 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)
- add_head_content(@content.head_content)

!!!
/
  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

28 entries across 28 versions & 1 rubygems

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