-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathlayout.haml
More file actions
38 lines (29 loc) · 1.23 KB
/
layout.haml
File metadata and controls
38 lines (29 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
!!! 5
%html{ :lang => 'en' }
%head
%meta{ :charset => 'utf-8' }
%meta{ :content => 'IE=edge,chrome=1', 'http-equiv' => 'X-UA-Compatible' }
%meta{ :name => 'viewport', :content => 'width=device-width, initial-scale=1.0' }
- unless current_page.data.nested
%title= "#{current_page.data.title} / #{data.leo.title}" || data.leo.title
- else
%title= "#{current_page.data.parent} - #{current_page.data.title} / #{data.leo.title}" || data.leo.title
%meta{ :name => "description", :content => "MVCSS - A Sass-based CSS architecture for creating predictable and maintainable application style." }
= stylesheet_link_tag 'application'
= partial 'shared/google_analytics' if build?
%body{ class: page_classes, 'data-id' => get_page_priority(current_page.data) }
= link_to '#', class: 'toggle' do
.toggle-icn
.toggle-icn-stack
%b.srt Toggle
= partial 'shared/sidebar'
.row
.cell.well
%main.content
%article
= find_and_preserve do
= yield
= partial 'shared/pager'
= partial 'shared/gauges' if build?
= javascript_include_tag 'http://code.jquery.com/jquery-1.11.1.min.js'
= javascript_include_tag 'application'