From 1ba7fb4e594d1ff1d96aff300c79fea0a4e3ca5f Mon Sep 17 00:00:00 2001 From: Egor Tensin <Egor.Tensin@gmail.com> Date: Sat, 16 May 2015 15:21:46 +0300 Subject: 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.yml. * External components versions are now in the config file. --- _includes/ie_compat.html | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 _includes/ie_compat.html (limited to '_includes/ie_compat.html') 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 %} -- cgit v1.2.3