diff options
author | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-05-03 15:48:44 +0200 |
---|---|---|
committer | Lars Henrik Mai <lars.mai@kontinui.de> | 2014-05-03 20:06:40 +0200 |
commit | 0b269fb063fa2c9d4f3b7cff98fd1da87cfb7cdb (patch) | |
tree | 8575f506c0c786a0b73fa3c6f3aff88a636a901a /source/layouts | |
parent | 1182b56a2e98cc5fbbbbe2bc30a0248f087ffd49 (diff) |
much designs.new-navigation-1
Diffstat (limited to 'source/layouts')
-rw-r--r-- | source/layouts/layout.erb | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/source/layouts/layout.erb b/source/layouts/layout.erb index 544621a..b2835f2 100644 --- a/source/layouts/layout.erb +++ b/source/layouts/layout.erb @@ -20,20 +20,24 @@ <body class="<%= page_classes %>"> - <!-- header --> - <header> - <h1>sublab</h1> - </header> - - <!-- main navigation --> - <nav> - <%= partial "navigation" %> - </nav> - - <!-- content --> - <section id="main"> - <%= yield %> - </section> + <!-- 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> |