!!! 5
%html{lang:'en'}
%head
- title = yield_content :title
%title= ( title.nil? || title.empty? ) ? I18n.t('pugin.layouts.pugin.website_brand') : 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']
= partial '/pugin/javascript/_google_tag_manager'
%body.no-js
- if ENV['GTM_KEY']
= partial '/pugin/javascript/_google_tag_manager_noscript'
= partial '/pugin/elements/_skip-content'
= partial '/pugin/components/_status'
= partial '/pugin/components/_header'
%main
= yield
= partial '/pugin/components/_footer'
%script{src: "#{Pugin::ASSET_LOCATION_URL}/#{Pugin::ASSET_VERSION}/javascripts/main.js"}