summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.haml
blob: 81f83b74826f80a17705afe565175bda71492b07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!!! 5
%html{ lang: I18n.locale, class: "#{page_class}" }
  = render "layouts/head"
  %body{ class: @body_class, data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}" } }
    = render "layouts/init_auto_complete" if @gfm_form
    - if show_new_nav?
      = render "layouts/header/new"
    - else
      = render "layouts/header/default", title: header_title
    = render 'layouts/page', sidebar: sidebar, nav: nav

    = yield :scripts_body

    = render 'peek/bar'