14 lines
593 B
Text
14 lines
593 B
Text
!!! 5
|
|
%html{ lang: "en", class: "#{page_class}" }
|
|
= render "layouts/head"
|
|
%body{ class: "#{user_application_theme}", data: { page: body_data_page, project: "#{@project.path if @project}", group: "#{@group.path if @group}" } }
|
|
= 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
|
|
= render "layouts/init_auto_complete" if @gfm_form
|