Commit 4a1b093602ad36094f0f0ab2b8b0d48b2cb6f623
1 parent
590c84c7
Exists in
master
and in
4 other branches
add data-page property to all pages
Showing
4 changed files
with
4 additions
and
4 deletions
Show diff stats
app/views/layouts/navless.html.haml
app/views/layouts/public.html.haml
1 | 1 | !!! 5 |
2 | 2 | %html{ lang: "en"} |
3 | 3 | = render "layouts/head", title: "Public Projects" |
4 | - %body{class: "#{app_theme} application"} | |
4 | + %body{class: "#{app_theme} application", :'data-page' => body_data_page} | |
5 | 5 | - if current_user |
6 | 6 | = render "layouts/head_panel", title: "Public Projects" |
7 | 7 | - else | ... | ... |
app/views/layouts/search.html.haml
app/views/layouts/snippets.html.haml
1 | 1 | !!! 5 |
2 | 2 | %html{ lang: "en"} |
3 | 3 | = render "layouts/head", title: "Snipepts" |
4 | - %body{class: "#{app_theme} application"} | |
4 | + %body{class: "#{app_theme} application", :'data-page' => body_data_page}} | |
5 | 5 | = render "layouts/head_panel", title: "Snippets" |
6 | 6 | = render "layouts/flash" |
7 | 7 | %nav.main-nav | ... | ... |