Sha256: 50dad4dbc33e25f4ffb8fdda6936df4c824852fc09ce5145b6d215be3e20bdd6

Contents?: true

Size: 1.59 KB

Versions: 2

Compression:

Stored size: 1.59 KB

Contents

!!! 5
%html{:lang => "en"}
  %head
    %meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
    %meta{:charset => "utf-8"}/
    %meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"}/
    %title= content_for?(:title) ? yield(:title) : "Bookshout"
    = stylesheet_link_tag    "bookshout-theme"
    = javascript_include_tag "vendor/modernizr"
    = csrf_meta_tags
    %link{:href => "https://cdnjs.cloudflare.com/ajax/libs/foundicons/3.0.0/foundation-icons.css", :rel => "stylesheet"}/
  %body{:id => content_for?(:body_id) ? yield(:body_id) : ''}
    = javascript_include_tag "bookshout-theme"
    .page
      .off-canvas-wrap(data-offcanvas)
        .inner-wrap
          %nav.tab-bar
            %section.left-small
              %a.left-off-canvas-toggle.menu-icon(href="#")
                %span

            %section.middle.tab-bar-section
              = image_tag content_for?(:image_url) ? yield(:image_url) : "http://s3.amazonaws.com/whitelabelepubsproduction/companies/logos/000/000/003/original/bs-logo2x-black.png", class: 'logo logo-nav'

            = content_for?(:additional_toolbar) ? yield(:additional_toolbar) : ''

          %aside.left-off-canvas-menu
            %ul.off-canvas-list
              %li
                %label
                  Navigation
                %li
                  %a(href="#{content_for?(:my_books_path) ? yield(:my_books_path) : 'https://bookshout.com'}")
                    %i.fa.fa-book.fa-2
                    My Books
            = render('shared/global_nav')
            = additional_header if additional_header.present?

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bookshout-theme-1.0.1 app/views/bookshout-theme/_header.html.haml
bookshout-theme-1.0.0 app/views/bookshout-theme/_header.html.haml