Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/devcows/hugo-universal-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge W Langham <georgelangham1990@gmail.com>2017-06-10 15:07:17 +0300
committerGitHub <noreply@github.com>2017-06-10 15:07:17 +0300
commitd3aba1997defef8dd0ce354140f9cc632a951005 (patch)
tree842fb90efaf839f58216194bea897b382eee754b
parent4ebda4e9837bc820577ae0180fcd87cb687c7380 (diff)
parenta2c76de5416dea958b9e3d3630d8e63a7f89ba70 (diff)
Merge pull request #79 from marcojanssen/marked-ie-libs-as-safehtml
Marked IE specific libs as safeHTML so it's not stripped by Hugo
-rw-r--r--layouts/partials/head.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 65adc3f..2651fc9 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -41,10 +41,12 @@
<link href="{{ .Site.BaseURL }}css/custom.css" rel="stylesheet">
<!-- Responsivity for older IE -->
+ {{ `
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
+ ` | safeHTML }}
<!-- Favicon and apple touch icons-->
<link rel="shortcut icon" href="{{ .Site.BaseURL }}img/favicon.ico" type="image/x-icon" />