gitlab-org--gitlab-foss/app/views/layouts/application.html.haml

16 lines
491 B
Text
Raw Normal View History

2012-02-09 02:59:04 -05:00
!!! 5
%html{ lang: "en"}
2015-04-30 13:06:18 -04:00
= render "layouts/head"
%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.
= yield :scripts_body_top
2015-04-30 13:06:18 -04:00
- if current_user
= render "layouts/header/default", title: header_title
2015-04-30 13:06:18 -04:00
- else
= render "layouts/header/public", title: header_title
2015-04-30 13:06:18 -04:00
= render 'layouts/page', sidebar: sidebar
= yield :scripts_body