aboutsummaryrefslogtreecommitdiff
path: root/docs/_includes
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2015-07-31 15:17:33 -0700
committerMark Otto <[email protected]>2015-07-31 15:17:33 -0700
commit8babdf166a3997f4f52198775223bb1e995e3377 (patch)
tree3157b887e8b63c3c5d45507d9b90af57c63a6850 /docs/_includes
parentdd6280e1c2ce7ada955af74d5f8c01cb7cc9d206 (diff)
parentc9c9c614a90639e36b34ae44cf4001c01ba9146b (diff)
downloadbootstrap-8babdf166a3997f4f52198775223bb1e995e3377.tar.xz
bootstrap-8babdf166a3997f4f52198775223bb1e995e3377.zip
Merge pull request #16921 from twbs/footer
Simpler docs footer
Diffstat (limited to 'docs/_includes')
-rw-r--r--docs/_includes/footer.html41
-rw-r--r--docs/_includes/social-buttons.html16
2 files changed, 7 insertions, 50 deletions
diff --git a/docs/_includes/footer.html b/docs/_includes/footer.html
index e75497c69..5ac992f99 100644
--- a/docs/_includes/footer.html
+++ b/docs/_includes/footer.html
@@ -2,30 +2,18 @@
================================================== -->
<footer class="bs-docs-footer" role="contentinfo">
<div class="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>.</p>
- <p>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 under <a rel="license" href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a>, documentation under <a rel="license" href="https://creativecommons.org/licenses/by/3.0/" target="_blank">CC BY 3.0</a>.</p>
- <ul class="bs-docs-footer-links text-muted">
- <li>Currently v{{ site.current_version }}</li>
- <li>&middot;</li>
+ <ul class="bs-docs-footer-links">
<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>
@@ -63,21 +51,6 @@
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="../assets/js/ie10-viewport-bug-workaround.js"></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>
diff --git a/docs/_includes/social-buttons.html b/docs/_includes/social-buttons.html
deleted file mode 100644
index bb0261848..000000000
--- a/docs/_includes/social-buttons.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<div class="bs-docs-social">
- <ul class="bs-docs-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>