summaryrefslogtreecommitdiff
path: root/source/layouts/layout.erb
blob: b2835f20daedc025d71d1953d1976498dd174336 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<!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 name="viewport" content="width=device-width, initial-scale=1">

    <!-- Use title if it's in the page YAML frontmatter -->
    <title><%= current_page.data.title || "sublab" %></title>

    <%= stylesheet_link_tag "base" %>
    <%#= stylesheet_link_tag "http://localhost:9393/status.css" %>

    <%= javascript_include_tag "all"%>
  </head>

  <body class="<%= page_classes %>">

    <!-- header -->
    <header>
      <div id="logo">
        <% link_to '/' do %>
          <%= image_tag 'sublab-logo.png', class: "img-responsive" %>
        <% end %>
      </div>
    </header>

    <!-- main navigation -->
    <nav>
      <%= partial "navigation" %>
    </nav>

    <!-- content -->
    <section id="main">
      <%= yield %>
    </section>

  </body>
</html>