diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-16 15:21:46 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-16 15:21:46 +0300 |
commit | 1ba7fb4e594d1ff1d96aff300c79fea0a4e3ca5f (patch) | |
tree | 72e3290b1532f22131a8d187b0aa4f9b5400cfb4 /_includes/jquery.html | |
parent | code style (diff) | |
download | sorting-algorithms-1ba7fb4e594d1ff1d96aff300c79fea0a4e3ca5f.tar.gz sorting-algorithms-1ba7fb4e594d1ff1d96aff300c79fea0a4e3ca5f.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.yml.
* External components versions are now in the config file.
Diffstat (limited to '_includes/jquery.html')
-rw-r--r-- | _includes/jquery.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_includes/jquery.html b/_includes/jquery.html new file mode 100644 index 0000000..aa6d2fd --- /dev/null +++ b/_includes/jquery.html @@ -0,0 +1,5 @@ +{% if site.minified_externals %} + <script src="https://code.jquery.com/jquery-{{ site.jquery_version }}.min.js"></script> +{% else %} + <script src="https://code.jquery.com/jquery-{{ site.jquery_version }}.js"></script> +{% endif %} |