aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-08-04 22:29:45 -0700
committerMark Otto <[email protected]>2015-08-04 22:29:45 -0700
commit1ddc3f5e21d8a7df6fdec100c48c82aaf8751a83 (patch)
tree9a9380632e1a113b1fe0f8aa72be25bfb0fd7fad /docs/_includes
parent8ee9da2f54bcf7da2fc599a93e2d53a78be3ce9f (diff)
parentab412b2404d12a3c55d1c4b798bd42ef32e80fab (diff)
downloadbootstrap-1ddc3f5e21d8a7df6fdec100c48c82aaf8751a83.tar.xz
bootstrap-1ddc3f5e21d8a7df6fdec100c48c82aaf8751a83.zip
Merge branch 'master' into v4m
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/footer.html47
-rw-r--r--docs/_includes/social-buttons.html16
2 files changed, 4 insertions, 59 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index f1b8db66a..0a2a26004 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -1,41 +1,19 @@
-<!-- Footer
-================================================== -->
<footer class="bd-footer" role="contentinfo">
<div class="bd-container">
- {% include social-buttons.html %}
-
- <p>
- Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@fat</a>.
- Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.
- Code licensed <a rel="license" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, docs <a rel="license" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.
- </p>
-
<ul class="bd-footer-links text-muted">
<li>Currently v{{ site.current_version }}</li>
- <li>&middot;</li>
<li><a href="{{ site.repo }}">GitHub</a></li>
- <li>&middot;</li>
+ <li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
<li><a href="../getting-started/#examples">Examples</a></li>
- <li>&middot;</li>
- <li><a href="../2.3.2/">v2.3.2 docs</a></li>
- <li>&middot;</li>
<li><a href="../about/">About</a></li>
- <li>&middot;</li>
- <li><a href="{{ site.expo }}">Expo</a></li>
- <li>&middot;</li>
- <li><a href="{{ site.blog }}">Blog</a></li>
- <li>&middot;</li>
- <li><a href="{{ site.repo }}/issues">Issues</a></li>
- <li>&middot;</li>
- <li><a href="{{ site.repo }}/releases">Releases</a></li>
</ul>
+ <p>Designed and built with all the love in the world by <a href="https://twitter.com/mdo" target="_blank">@mdo</a> and <a href="https://twitter.com/fat" target="_blank">@fat</a>. Maintained by the <a href="https://github.com/orgs/twbs/people">core team</a> with the help of <a href="https://github.com/twbs/bootstrap/graphs/contributors">our contributors</a>.</p>
+ <p>Code licensed <a rel="license" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, docs <a rel="license" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</p>
</div>
</footer>
-<!-- Bootstrap core JavaScript
-================================================== -->
-<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
+<script>window.jQuery || document.write('<script src="../assets/js/vendor/jquery.min.js"><\/script>')</script>
{% if site.github %}
<script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script>
@@ -71,23 +49,6 @@ Holder.addTheme('gray', {
})
</script>
-{% comment %}
- Inject Twitter widgets asynchronously. Snippet snipped from Twitter's
- JS interface site: https://dev.twitter.com/docs/tfw-javascript
-
- * "js.async=1;" added to add async attribute to the generated script tag.
-{% endcomment %}
-<script>
- window.twttr = (function (d,s,id) {
- var t, js, fjs = d.getElementsByTagName(s)[0];
- if (d.getElementById(id)) return; js=d.createElement(s); js.id=id; js.async=1;
- js.src="https://platform.twitter.com/widgets.js"; fjs.parentNode.insertBefore(js, fjs);
- return window.twttr || (t = { _e: [], ready: function(f){ t._e.push(f) } });
- }(document, "script", "twitter-wjs"));
-</script>
-
-<!-- Analytics
-================================================== -->
<script>
var _gauges = _gauges || [];
(function() {
diff --git a/docs/_includes/social-buttons.html b/docs/_includes/social-buttons.html
deleted file mode 100644
index f7a3329b3..000000000
--- a/docs/_includes/social-buttons.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<div class="bd-social">
- <ul class="bd-social-buttons">
- <li>
- <iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
- </li>
- <li>
- <iframe class="github-btn" src="https://ghbtns.com/github-btn.html?user=twbs&amp;repo=bootstrap&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>
- </li>
- <li class="follow-btn">
- <a href="https://twitter.com/getbootstrap" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @getbootstrap</a>
- </li>
- <li class="tweet-btn">
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://getbootstrap.com/" data-count="horizontal" data-via="getbootstrap" data-related="mdo:Creator of Bootstrap">Tweet</a>
- </li>
- </ul>
-</div>