Sha256: 8a740595ad6ebf6eb6c5a4580792ce432a35d50c1d63ba944b774138a4f7ccab

Contents?: true

Size: 1.32 KB

Versions: 3

Compression:

Stored size: 1.32 KB

Contents

doctype html
html lang="ru"
  head
    meta charset="UTF-8"
    meta name="viewport" content="width=device-width, maximum-scale=1"
    title= page_title
    = yield :meta
    = csrf_meta_tags
    = favicon_link_tag '/favicon.ico'
    - if !ENV["WEBPACK_HOST"].blank? && Rails.env.development?
      script src="http://#{ENV["WEBPACK_HOST"]}/webpack/vendor.js"
      script src="http://#{ENV["WEBPACK_HOST"]}/webpack/application.js"
    - else
      = stylesheet_link_tag *webpack_asset_paths('vendor', extension: 'css')
      = stylesheet_link_tag *webpack_asset_paths('application', extension: 'css')
      = javascript_include_tag *webpack_asset_paths('vendor', extension: 'js')
      = javascript_include_tag *webpack_asset_paths('application', extension: 'js')

  body.no-js
    = render 'blocks/header'
    script.no-js-script
      | document.body.classList.remove('no-js');
    .no-js-error.alert.alert-error
      | К сожалению, в вашем браузере отключен JavaScript
      span Включите его, чтобы зайти на сайт
      a class="btn-transparent" target="_blank" href="https://yandex.ru/support/common/browsers-settings/browsers-java-js-settings.xml" Включить JavaScript

    .container
      = render 'shared/messages'
      = yield
    #footer
      = render 'blocks/footer'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocket_cms-0.24.0 app/views/layouts/application.html.slim
rocket_cms-0.22.0 app/views/layouts/application.html.slim
rocket_cms-0.21.1 app/views/layouts/application.html.slim