summaryrefslogtreecommitdiff
path: root/source/layouts/layout.haml
blob: cd6280424e88f302f6113c25cf606abacc14dc08 (plain)
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
<!doctype html>
%html
  %head
    %meta{:charset => "utf-8"}/
    / Always force latest IE rendering engine or request Chrome Frame
    %meta{:content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/
    / For proper display on mobile
    %meta{:content => "width=device-width, initial-scale=1", :name => "viewport"}/
    / Use title if it's in the page YAML frontmatter
    %title= current_page.data.title || "sublab"
    = stylesheet_link_tag "base"
    = javascript_include_tag "modernizr", "all"
  %body{:class => page_classes}
    / header
    %header
      #logo
        - link_to '/index.html' do
          = image_tag 'sublab-logo.png', class: "img-responsive"
    / main navigation
    = partial "navigation"
    / content
    #content
      %section#main
        .row
          .columns
            = yield
    / javascript initialization
    :javascript
      $(document).foundation();