Sha256: 9b41658eba52321f06e8500312cf49c5edc5d76d20f99bcae960335fb2428b85

Contents?: true

Size: 1.18 KB

Versions: 3

Compression:

Stored size: 1.18 KB

Contents

!!! 5
%html{lang:'en'}
  %head
    %title= content_for(:title).nil? ? I18n.t('pugin.layouts.pugin.website_brand') : content_for(:title) + ' - ' + I18n.t('pugin.layouts.pugin.website_brand')
    %link{rel: 'stylesheet', href: "#{Pugin::ASSET_LOCATION_URL}/#{Pugin::ASSET_VERSION}/stylesheets/main.css" }
    %meta{name: 'viewport', content: 'width=device-width, initial-scale=1.0'}
    %meta{'http-equiv': 'X-UA-Compatible', content: 'IE=edge'}
    %link{rel: 'shortcut icon', type: 'image/x-icon', href: "#{Pugin::STATIC_ASSET_LOCATION_URL}/favicon.ico"}
    - if ENV['GTM_KEY']
      = render partial: 'pugin/javascript/google_tag_manager'
  %body.no-js
    - if ENV['GTM_KEY']
      = render partial: 'pugin/javascript/google_tag_manager_noscript'
    = render partial: 'pugin/elements/skip-content'
    = render partial: 'pugin/components/status', locals: { status: nil } if Pugin::Feature::StatusBanner.enabled?
    = render 'pugin/components/header'
    = render partial: 'pugin/components/navigation-main' if Pugin::Feature::TopNavigation.enabled?
    %main
      = yield
    = render 'pugin/components/footer'
    %script{src: "#{Pugin::ASSET_LOCATION_URL}/#{Pugin::ASSET_VERSION}/javascripts/main.js"}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pugin-0.8.5 app/views/pugin/layouts/pugin.haml
pugin-0.8.4 app/views/pugin/layouts/pugin.haml
pugin-0.8.3 app/views/pugin/layouts/pugin.haml