pboksz/wedding-site

View on GitHub
app/views/layouts/application.haml

Summary

Maintainability
Test Coverage
!!!

%html
  %head
    %title= t('views.meta.title')
    %meta{ name: :description, content: t('views.meta.description') }
    %meta{ name: :keywords, content: t('views.meta.keywords') }
    %link{ rel: :alternate, href: root_url(locale: :pl), hreflang: :pl }
    = stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    = stylesheet_link_tag    '//cdn.rawgit.com/noelboss/featherlight/1.0.4/release/featherlight.min.css'
    = stylesheet_link_tag    '//cdn.rawgit.com/noelboss/featherlight/1.0.4/release/featherlight.gallery.min.css'
    = javascript_include_tag 'application', 'data-turbolinks-track' => true
    = javascript_include_tag '//cdn.rawgit.com/noelboss/featherlight/1.0.4/release/featherlight.min.js'
    = javascript_include_tag '//cdn.rawgit.com/noelboss/featherlight/1.0.4/release/featherlight.gallery.min.js'
    = csrf_meta_tags

  %body
    .container
      = render 'layouts/header'
      = render 'layouts/messages'
      = yield
      = render 'layouts/footer'