From cfc682283246a2f7167682a82b0ac62365cbe7fb Mon Sep 17 00:00:00 2001 From: Egor Tensin <Egor.Tensin@gmail.com> Date: Sat, 16 May 2015 17:39:37 +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_dev.yml. * External components versions are now in the config file. --- _includes/bootstrap_css.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 _includes/bootstrap_css.html (limited to '_includes/bootstrap_css.html') diff --git a/_includes/bootstrap_css.html b/_includes/bootstrap_css.html new file mode 100644 index 0000000..f47b856 --- /dev/null +++ b/_includes/bootstrap_css.html @@ -0,0 +1,5 @@ +{% if site.minified_externals %} + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/css/bootstrap.min.css"> +{% else %} + <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/{{ site.bootstrap_version }}/css/bootstrap.css"> +{% endif %} -- cgit v1.2.3