add data-page property to all pages
This commit is contained in:
parent
590c84c7a4
commit
4a1b093602
4 changed files with 4 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
|||
!!! 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"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
!!! 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
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
!!! 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"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
!!! 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
|
||||
|
|
Loading…
Reference in a new issue