!!! 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" }
- if Pugin::Feature::AssetOverrides.enabled?
%link{rel: 'stylesheet', href: "https://s3-eu-west-1.amazonaws.com/web1live.static-assets/hybrid-bills/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"}
%link{rel: 'search', type: 'application/opensearchdescription+xml', href: opensearch_description_url, title: I18n.t('pugin.layouts.pugin.website_brand')}
- if ENV['GTM_KEY']
= render partial: 'pugin/javascript/google_tag_manager'
- unless Pugin.alternates.empty?
/ ========================
/ See below for data views
/ ========================
- Pugin.alternates.each do |alternate|
%link{rel: 'alternate', type: alternate[:type], href: alternate[:href]}
%body
= render partial: 'pugin/javascript/has_js'
- if ENV['GTM_KEY']
= render partial: 'pugin/javascript/google_tag_manager_noscript'
= render partial: 'pugin/elements/skip-content'
= render partial: 'pugin/components/status-cookie'
= 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"}
- if Pugin::Feature::AssetOverrides.enabled?
%script{src: "https://s3-eu-west-1.amazonaws.com/web1live.static-assets/hybrid-bills/javascripts/main.js"}
= render partial: 'pugin/javascript/pingdom' if Pugin::Feature::Pingdom.enabled?