diff options
author | Michael Sverdlik <m1keil@users.noreply.github.com> | 2015-05-24 19:43:07 +0300 |
---|---|---|
committer | Michael Sverdlik <m1keil@users.noreply.github.com> | 2015-05-24 19:43:07 +0300 |
commit | 0e9678120f8a3e3aef64ee1d3a0d830cbe839741 (patch) | |
tree | 1723ecf261375c9e9219b3b3fa779e51667c6265 | |
parent | 53e5123ca0946eff20209cb69296187c3192de1e (diff) |
Update header.html
internet explorer conditional comments are stripped. do this to avoid it. source: http://gohugo.io/templates/go-templates/#internet-explorer-conditional-comments-using-pipes:e2fc23c6497b774f0cb0b339042e10c3
-rw-r--r-- | layouts/partials/header.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 7efeb00..5e5f2b9 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -18,12 +18,12 @@ <link href='//fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Oxygen:400,700' rel='stylesheet' type='text/css'> <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/pure-min.css"> - <!--[if lte IE 8]> + {{ "<!--[if lte IE 8]>" | safeHtml }} <link rel="stylesheet" href="http://yui.yahooapis.com/pure/0.6.0/grids-responsive-old-ie-min.css"> - <![endif]--> - <!--[if gt IE 8]><!--> + {{ "<![endif]-->" | safeHtml }} + {{ "<!--[if gt IE 8]><!-->" | safeHtml }} <link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/pure/0.6.0/grids-responsive-min.css"> - <!--<![endif]--> + {{ "<!--<![endif]-->" | safeHtml }} <link rel="stylesheet" href="{{ .Site.BaseUrl }}/css/all.min.css"> <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet"> |