summaryrefslogtreecommitdiff
path: root/public/views
diff options
context:
space:
mode:
Diffstat (limited to 'public/views')
-rw-r--r--public/views/head.ejs7
-rw-r--r--public/views/html.hbs7
-rw-r--r--public/views/pretty.ejs7
3 files changed, 21 insertions, 0 deletions
diff --git a/public/views/head.ejs b/public/views/head.ejs
index 4d6901b4..fa690108 100644
--- a/public/views/head.ejs
+++ b/public/views/head.ejs
@@ -32,3 +32,10 @@
<link rel="stylesheet" href="/css/index.css">
<link rel="stylesheet" href="/css/extra.css">
<link rel="stylesheet" href="/css/site.css">
+<!-- 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://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>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+<![endif]--> \ No newline at end of file
diff --git a/public/views/html.hbs b/public/views/html.hbs
index e604ee94..e3aa1331 100644
--- a/public/views/html.hbs
+++ b/public/views/html.hbs
@@ -21,6 +21,13 @@
<style>
{{{css}}}
</style>
+ <!-- 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://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>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+ <![endif]-->
</head>
<body>
diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs
index a81f20c9..a1311b19 100644
--- a/public/views/pretty.ejs
+++ b/public/views/pretty.ejs
@@ -25,6 +25,13 @@
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
<link rel="stylesheet" href='<%- url %>/css/site.css'>
+ <!-- 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://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>
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.2.0/es5-shim.min.js"></script>
+ <![endif]-->
</head>
<body style="display:none;">