09. Main layout - max-borisov/ihub-bookshelf GitHub Wiki
Before get to work with views(visual part of the app), let's update the main layout file.
First of all rename it from application.html.erb to application.haml
application/views/layouts/application.haml
!!!
%html
%head
%title BookShelf
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
.container
%nav.navbar.navbar-default
.container-fluid
.navbar-header
%a.navbar-brand{:href => "/"} Rails bookshelf
= yield