summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.haml
blob: 2b86b289bbe65abe456e42e724e7a8db77cfd63c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
!!! 5
%html{ lang: "en"}
  = render "layouts/head"
  %body{class: "#{user_application_theme}", 'data-page' => body_data_page}
    = Gon::Base.render_data

    -# Ideally this would be inside the head, but turbolinks only evaluates page-specific JS in the body.
    = yield :scripts_body_top

    = render "layouts/header/default", title: header_title
    = render 'layouts/page', sidebar: sidebar, nav: nav

    = yield :scripts_body