aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/ie_compat.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-05-16 03:31:46 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-05-16 03:31:46 +0300
commit10c0a594657ee6f5df5810f6ea35408595208adb (patch)
tree3ccb117151ef6b3f3e313ef785b314508391230d /_includes/ie_compat.html
parentcode style (diff)
downloadegor-tensin.github.io-10c0a594657ee6f5df5810f6ea35408595208adb.tar.gz
egor-tensin.github.io-10c0a594657ee6f5df5810f6ea35408595208adb.zip
more flexible prerequisite management
* Move external <link>s and <script>s into separate includes. * Opt for minified versions of external CSS stylesheets and JavaScript files by default, allowing to use the properly formatted versions during development using _config_dev.yml. * External components versions are now in the config file.
Diffstat (limited to '_includes/ie_compat.html')
-rw-r--r--_includes/ie_compat.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_includes/ie_compat.html b/_includes/ie_compat.html
new file mode 100644
index 0000000..3cef67d
--- /dev/null
+++ b/_includes/ie_compat.html
@@ -0,0 +1,11 @@
+{% if site.minified_externals %}
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/{{ site.html5shiv_version }}/html5shiv.min.js"></script>
+ <script src="https://oss.maxcdn.com/respond/{{ site.respond_version }}/respond.min.js"></script>
+ <![endif]-->
+{% else %}
+ <!--[if lt IE 9]>
+ <script src="https://oss.maxcdn.com/html5shiv/{{ site.html5shiv_version }}/html5shiv.js"></script>
+ <script src="https://oss.maxcdn.com/respond/{{ site.respond_version }}/respond.js"></script>
+ <![endif]-->
+{% endif %}