summaryrefslogtreecommitdiff
path: root/source/layouts/layout.erb
blob: 544621a24289f48b813ac8b4a9015046df0be530 (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
<!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>
        <h1>sublab</h1>
      </header>

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

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

  </body>
</html>