app/views/layouts/govuk_template.html.erb in govuk_template-0.17.3 vs app/views/layouts/govuk_template.html.erb in govuk_template-0.18.0

- old
+ new

@@ -4,28 +4,17 @@ <!--[if gt IE 8]><!--><html lang="<%= content_for?(:html_lang) ? yield(:html_lang) : "en" %>"><!--<![endif]--> <head> <meta charset="utf-8" /> <title><%= content_for?(:page_title) ? yield(:page_title) : "GOV.UK - The best place to find government services and information" %></title> - <!--[if gt IE 8]><!--><link href="<%= asset_path "govuk-template.css" %>" media="screen" rel="stylesheet" type="text/css" /><!--<![endif]--> - <!--[if IE 6]><link href="<%= asset_path "govuk-template-ie6.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]--> - <!--[if IE 7]><link href="<%= asset_path "govuk-template-ie7.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]--> - <!--[if IE 8]><link href="<%= asset_path "govuk-template-ie8.css" %>" media="screen" rel="stylesheet" type="text/css" /><![endif]--> - <link href="<%= asset_path "govuk-template-print.css" %>" media="print" rel="stylesheet" type="text/css" /> + <!--[if gt IE 8]><!--><link href="<%= asset_path "govuk-template.css" %>" media="screen" rel="stylesheet" /><!--<![endif]--> + <!--[if IE 6]><link href="<%= asset_path "govuk-template-ie6.css" %>" media="screen" rel="stylesheet" /><![endif]--> + <!--[if IE 7]><link href="<%= asset_path "govuk-template-ie7.css" %>" media="screen" rel="stylesheet" /><![endif]--> + <!--[if IE 8]><link href="<%= asset_path "govuk-template-ie8.css" %>" media="screen" rel="stylesheet" /><![endif]--> + <link href="<%= asset_path "govuk-template-print.css" %>" media="print" rel="stylesheet" /> - <!--[if IE 8]> - <script> - (function(){if(window.opera){return;} - setTimeout(function(){var a=document,g,b={families:(g= - ["nta"]),urls:["<%= asset_path "fonts-ie8.css" %>"]}, - c="<%= asset_path "vendor/goog/webfont-debug.js" %>",d="script", - e=a.createElement(d),f=a.getElementsByTagName(d)[0],h=g.length;WebFontConfig - ={custom:b},e.src=c,f.parentNode.insertBefore(e,f);for(;h=h-1;a.documentElement - .className+=' wf-'+g[h].replace(/\s/g,'').toLowerCase()+'-n4-loading');},0) - })() - </script> - <![endif]--> - <!--[if gte IE 9]><!--><link href="<%= asset_path "fonts.css" %>" media="all" rel="stylesheet" type="text/css" /><!--<![endif]--> + <!--[if IE 8]><link href="<%= asset_path "fonts-ie8.css" %>" media="all" rel="stylesheet" /><![endif]--> + <!--[if gte IE 9]><!--><link href="<%= asset_path "fonts.css" %>" media="all" rel="stylesheet" /><!--<![endif]--> <!--[if lt IE 9]><script src="<%= asset_path "ie.js" %>"></script><![endif]--> <link rel="shortcut icon" href="<%= asset_path 'favicon.ico' %>" type="image/x-icon" /> <link rel="mask-icon" href="<%= asset_path 'gov.uk_logotype_crown.svg' %>" color="#0b0c0c"> <link rel="apple-touch-icon-precomposed" sizes="152x152" href="<%= asset_path "apple-touch-icon-152x152.png" %>">