[FLINK-9062] Ship jQuery without external provider
Project: http://git-wip-us.apache.org/repos/asf/flink-web/repo Commit: http://git-wip-us.apache.org/repos/asf/flink-web/commit/f0107ae8 Tree: http://git-wip-us.apache.org/repos/asf/flink-web/tree/f0107ae8 Diff: http://git-wip-us.apache.org/repos/asf/flink-web/diff/f0107ae8 Branch: refs/heads/asf-site Commit: f0107ae87834f40a2a9ce025df673f88b62fb891 Parents: ae3a7e4 Author: Timo Walther <twal...@apache.org> Authored: Tue Mar 27 17:10:38 2018 +0200 Committer: Timo Walther <twal...@apache.org> Committed: Tue Mar 27 17:10:38 2018 +0200 ---------------------------------------------------------------------- _layouts/base.html | 2 +- js/jquery.min.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flink-web/blob/f0107ae8/_layouts/base.html ---------------------------------------------------------------------- diff --git a/_layouts/base.html b/_layouts/base.html index ea520e9..9fce64a 100755 --- a/_layouts/base.html +++ b/_layouts/base.html @@ -19,7 +19,7 @@ <!-- jQuery (necessary for Bootstrap's JavaScript plugins) --> <!-- We need to load Jquery in the header for custom google analytics event tracking--> - <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script> + <script src="{{ site.baseurl }}/js/jquery.min.js"></script> <!-- 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:// -->