diff options
Diffstat (limited to 'source/layouts/layout.erb')
-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> |