diff --git a/app/views/layouts/navless.html.haml b/app/views/layouts/navless.html.haml
index 47dece4..7325664 100644
--- a/app/views/layouts/navless.html.haml
+++ b/app/views/layouts/navless.html.haml
@@ -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"
diff --git a/app/views/layouts/public.html.haml b/app/views/layouts/public.html.haml
index 615180c..e330da9 100644
--- a/app/views/layouts/public.html.haml
+++ b/app/views/layouts/public.html.haml
@@ -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
diff --git a/app/views/layouts/search.html.haml b/app/views/layouts/search.html.haml
index fbea9d4..177b3a4 100644
--- a/app/views/layouts/search.html.haml
+++ b/app/views/layouts/search.html.haml
@@ -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"
diff --git a/app/views/layouts/snippets.html.haml b/app/views/layouts/snippets.html.haml
index f2696a0..350f1c7 100644
--- a/app/views/layouts/snippets.html.haml
+++ b/app/views/layouts/snippets.html.haml
@@ -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
--
libgit2 0.21.2