1 <!-- Bootstrap core JavaScript |
|
2 ================================================== --> |
|
3 <!-- Placed at the end of the document so the pages load faster --> |
|
4 <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script> |
|
5 <script src="{{ page.base_url }}dist/js/bootstrap.js"></script> |
|
6 |
|
7 <script src="{{ page.base_url }}docs-assets/js/holder.js"></script> |
|
8 |
|
9 <script src="{{ page.base_url }}docs-assets/js/application.js"></script> |
|
10 |
|
11 {% if page.slug == "customize" %} |
|
12 <script src="{{ page.base_url }}docs-assets/js/less.js"></script> |
|
13 <script src="{{ page.base_url }}docs-assets/js/jszip.js"></script> |
|
14 <script src="{{ page.base_url }}docs-assets/js/uglify.js"></script> |
|
15 <script src="{{ page.base_url }}docs-assets/js/filesaver.js"></script> |
|
16 <script src="{{ page.base_url }}docs-assets/js/raw-files.js"></script> |
|
17 <script src="{{ page.base_url }}docs-assets/js/customizer.js"></script> |
|
18 {% endif %} |
|
19 |
|
20 {% comment %} |
|
21 Inject Twitter widgets asynchronously. Snippet snipped from Twitter's |
|
22 JS interface site: https://dev.twitter.com/docs/tfw-javascript |
|
23 |
|
24 * "js.async=1;" added to add async attribute to the generated script tag. |
|
25 {% endcomment %} |
|
26 <script> |
|
27 window.twttr = (function (d,s,id) { |
|
28 var t, js, fjs = d.getElementsByTagName(s)[0]; |
|
29 if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1; |
|
30 js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs); |
|
31 return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } }); |
|
32 }(document, "script", "twitter-wjs")); |
|
33 </script> |
|
34 |
|
35 <!-- Analytics |
|
36 ================================================== --> |
|
37 <script> |
|
38 var _gauges = _gauges || []; |
|
39 (function() { |
|
40 var t = document.createElement('script'); |
|
41 t.async = true; |
|
42 t.id = 'gauges-tracker'; |
|
43 t.setAttribute('data-site-id', '4f0dc9fef5a1f55508000013'); |
|
44 t.src = '//secure.gaug.es/track.js'; |
|
45 var s = document.getElementsByTagName('script')[0]; |
|
46 s.parentNode.insertBefore(t, s); |
|
47 })(); |
|
48 </script> |
|