Commit 4a1b0936 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

add data-page property to all pages

parent 590c84c7
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: @title = 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/head_panel", title: @title
= render "layouts/flash" = render "layouts/flash"
......
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: "Public Projects" = render "layouts/head", title: "Public Projects"
%body{class: "#{app_theme} application"} %body{class: "#{app_theme} application", :'data-page' => body_data_page}
- if current_user - if current_user
= render "layouts/head_panel", title: "Public Projects" = render "layouts/head_panel", title: "Public Projects"
- else - else
......
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: "Search" = 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/head_panel", title: "Search"
= render "layouts/flash" = render "layouts/flash"
......
!!! 5 !!! 5
%html{ lang: "en"} %html{ lang: "en"}
= render "layouts/head", title: "Snipepts" = 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/head_panel", title: "Snippets"
= render "layouts/flash" = render "layouts/flash"
%nav.main-nav %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