diff options
author | Mark Otto <markdotto@gmail.com> | 2017-07-05 00:53:25 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2017-07-05 00:53:25 +0300 |
commit | 0cda77f52f6e8de68be082818ee993ccfc7ad643 (patch) | |
tree | 7772d9db75f3c0af0284aff2fb57307d28d6f9f2 /docs | |
parent | 0bb5addfc82262cd8f49d3b987cddea284ec2f9f (diff) |
footer links
Diffstat (limited to 'docs')
-rw-r--r-- | docs/_includes/footer.html | 27 |
1 files changed, 6 insertions, 21 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html index 50e6159b01..8e541b7a9a 100644 --- a/docs/_includes/footer.html +++ b/docs/_includes/footer.html @@ -21,16 +21,16 @@ ================================================== --> <!-- Placed at the end of the document so the pages load faster --> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> -<script>window.jQuery || document.write('<script src="../assets/js/vendor/jquery.min.js"><\/script>')</script> +<script>window.jQuery || document.write('<script src="{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script> {% if site.github %} - <script src="../dist/js/bootstrap.min.js"></script> + <script src="{ site.baseurl }}/dist/js/bootstrap.min.js"></script> {% else %} - <script src="../dist/js/bootstrap.js"></script> + <script src="{ site.baseurl }}/dist/js/bootstrap.js"></script> {% endif %} {% if site.github %} - <script src="../assets/js/docs.min.js"></script> + <script src="{ site.baseurl }}/assets/js/docs.min.js"></script> {% else %} {% for file in site.data.configBridge.paths.docsJs %} <script src="{{ file }}"></script> @@ -58,7 +58,7 @@ {% if page.slug == "customize" %} <script>var __configBridge = {{ site.data.configBridge.config | jsonify }}</script> {% if site.github %} - <script src="../assets/js/customize.min.js"></script> + <script src="{{ site.baseurl }}/assets/js/customize.min.js"></script> {% else %} {% for file in site.data.configBridge.paths.customizerJs %} <script src="{{ file }}"></script> @@ -67,19 +67,4 @@ {% endif %} <!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> -<script src="../assets/js/ie10-viewport-bug-workaround.js"></script> - -<!-- Analytics -================================================== --> -<script> - var _gauges = _gauges || []; - (function() { - var t = document.createElement('script'); - t.async = true; - t.id = 'gauges-tracker'; - t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013'); - t.src = '//secure.gaug.es/track.js'; - var s = document.getElementsByTagName('script')[0]; - s.parentNode.insertBefore(t, s); - })(); -</script> +<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script> |