diff options
Diffstat (limited to 'source/layouts/layout.erb')
-rw-r--r-- | source/layouts/layout.erb | 37 |
1 files changed, 13 insertions, 24 deletions
diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index b0cba82..3f642ff 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -12,8 +12,7 @@ <!-- Use title if it's in the page YAML frontmatter --> <title><%= current_page.data.title || "sublab" %></title> - <%= stylesheet_link_tag "all", "bootstrap", "bootstrap-theme" %> - + <%= stylesheet_link_tag "base" %> <%#= stylesheet_link_tag "http://localhost:9393/status.css" %> <%= javascript_include_tag "all", "jquery", "bootstrap" %> @@ -21,30 +20,20 @@ <body class="<%= page_classes %>"> - <div class="container"> - - <div class="header container"> - <div class="row"> - <div class="col-md-3"> - <h1>sublab</h1> - </div> - </div> - </div> - - <div class="row"> - <%= partial "navigation" %> - </div> + <!-- header --> + <header> + <h1>sublab</h1> + </header> - <% if (section = current_page.data.section) %> - <%= partial "nav_#{section}" %> - <% end %> + <!-- main navigation --> + <nav> + <%= partial "navigation" %> + </nav> - <div class="row"> - <div class="col-md-9"> - <%= yield %> - </div> - </div> + <!-- content --> + <section id="main"> + <%= yield %> + </section> - </div> <!-- end container --> </body> </html> |