BigW Consortium Gitlab

application.html.haml 491 Bytes
Newer Older
Dmitriy Zaporozhets committed
1
!!! 5
2
%html{ lang: "en"}
3
  = render "layouts/head"
4 5
  %body{class: "#{user_application_theme}", 'data-page' => body_data_page}
    -# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
6
    = yield :scripts_body_top
7

8
    - if current_user
9
      = render "layouts/header/default", title: header_title
10
    - else
11
      = render "layouts/header/public", title: header_title
12

13
    = render 'layouts/page', sidebar: sidebar
14 15

    = yield :scripts_body