diff options
Diffstat (limited to 'public')
-rw-r--r-- | public/views/head.ejs | 8 | ||||
-rw-r--r-- | public/views/index.ejs | 1 | ||||
-rw-r--r-- | public/views/polyfill.ejs | 7 | ||||
-rw-r--r-- | public/views/pretty.ejs | 8 | ||||
-rw-r--r-- | public/views/slide.ejs | 8 |
5 files changed, 11 insertions, 21 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs index 3ec4cd67..f1cdff15 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -40,10 +40,4 @@ <%- include build/index-header %> -<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> -<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> -<!--[if lt IE 9]> - <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script> -<![endif]--> +<%- include polyfill %>
\ No newline at end of file diff --git a/public/views/index.ejs b/public/views/index.ejs index fec6fae6..f1b4e021 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -32,6 +32,7 @@ <% } %> <!-- Custom styles for this template --> <%- include build/cover-header %> + <%- include polyfill %> </head> <body> diff --git a/public/views/polyfill.ejs b/public/views/polyfill.ejs new file mode 100644 index 00000000..5c885642 --- /dev/null +++ b/public/views/polyfill.ejs @@ -0,0 +1,7 @@ +<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> +<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> +<!--[if lt IE 9]> + <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script> + <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script> +<![endif]-->
\ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 5e76fc6b..502aae40 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -34,13 +34,7 @@ <link rel="stylesheet" href='<%- url %>/css/markdown.css'> <link rel="stylesheet" href='<%- url %>/vendor/emojify.js/dist/css/basic/emojify.min.css'> <%- include build/pretty-header %> - <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> - <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> - <!--[if lt IE 9]> - <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script> - <![endif]--> + <%- include polyfill %> </head> <body style="display:none;"> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index 0570b5ff..437f0c97 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -50,13 +50,7 @@ document.getElementsByTagName( 'head' )[0].appendChild( link ); </script> - <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> - <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> - <!--[if lt IE 9]> - <script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js" integrity="sha256-3Jy/GbSLrg0o9y5Z5n1uw0qxZECH7C6OQpVBgNFYa0g=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js" integrity="sha256-g6iAfvZp+nDQ2TdTR/VVKJf3bGro4ub5fvWSWVRi2NE=" crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js" integrity="sha256-8E4Is26QH0bD52WoQpcB+R/tcWQtpzlCojrybUd7Mxo=" crossorigin="anonymous"></script> - <![endif]--> + <%- include polyfill %> </head> <body> <div class="container"> |