BigW Consortium Gitlab

Commit 4a1b0936 by Dmitriy Zaporozhets

add data-page property to all pages

parent 590c84c7
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: @title
%body{class: "#{app_theme} application"}
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/head_panel", title: @title
= render "layouts/flash"
......
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Public Projects"
%body{class: "#{app_theme} application"}
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
- if current_user
= render "layouts/head_panel", title: "Public Projects"
- else
......
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Search"
%body{class: "#{app_theme} application"}
%body{class: "#{app_theme} application", :'data-page' => body_data_page}
= render "layouts/head_panel", title: "Search"
= render "layouts/flash"
......
!!! 5
%html{ lang: "en"}
= render "layouts/head", title: "Snipepts"
%body{class: "#{app_theme} application"}
%body{class: "#{app_theme} application", :'data-page' => body_data_page}}
= render "layouts/head_panel", title: "Snippets"
= render "layouts/flash"
%nav.main-nav
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment