Sha256: 2ba6fb891df32157c8b93f08cf6cb87f374de0acfc0b052adccf8aaa1427d9a3
Contents?: true
Size: 1.38 KB
Versions: 12
Compression:
Stored size: 1.38 KB
Contents
<% add_gem_component_stylesheet("layout-for-admin") js_filename ||= "application" js_module_filename ||= "es6-components" css_filename ||= "application" product_name ||= "Publishing" use_type_module ||= false %> <!DOCTYPE html> <html lang="en" class="govuk-template"> <head> <meta charset="utf-8" /> <title><%= browser_title %> - GOV.UK <%= product_name %></title> <meta name="robots" content="noindex,nofollow,noimageindex"> <meta name="viewport" content="width=device-width, initial-scale=1"> <%= csrf_meta_tags %> <%= favicon_link_tag "govuk_publishing_components/favicon-#{environment}.png" %> <%= stylesheet_link_tag css_filename, media: "all" %> <%= javascript_include_tag "govuk_publishing_components/vendor/modernizr" %> <% if GovukPublishingComponents::Config.use_es6_components %> <%= javascript_include_tag js_module_filename, type: "module" %> <% end %> <%= yield :head %> </head> <body class="gem-c-layout-for-admin govuk-template__body"> <%= javascript_tag nonce: true do -%> document.body.className += ' js-enabled' + ('noModule' in HTMLScriptElement.prototype ? ' govuk-frontend-supported' : ''); <% end -%> <%= yield %> <% if use_type_module %> <%= javascript_include_tag js_filename, type: "module" %> <% else %> <%= javascript_include_tag js_filename %> <% end %> </body> </html>
Version data entries
12 entries across 12 versions & 1 rubygems