mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-29 11:24:18 +01:00
9a5222ca31
We can't include it in docs.min.js because docs.min.js includes application.js, application.js depends on bootstrap.js, and the tooltip portion of bootstrap.js depends on Tether. So instead, we need to load Tether separately before bootstrap.js [skip sauce]
59 lines
2.5 KiB
HTML
59 lines
2.5 KiB
HTML
<footer class="bd-footer text-muted" role="contentinfo">
|
|
<div class="container">
|
|
<ul class="bd-footer-links">
|
|
<li><a href="{{ site.repo }}">GitHub</a></li>
|
|
<li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
|
|
<li><a href="{{ site.baseurl }}/examples/">Examples</a></li>
|
|
<li><a href="{{ site.baseurl }}/about/history/">About</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>Currently v{{ site.current_version }}. 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>
|
|
|
|
<script src="{{ site.cdn.jquery }}"></script>
|
|
<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery.min.js"><\/script>')</script>
|
|
|
|
<script src="{{ site.baseurl }}/assets/js/vendor/tether.min.js"></script>
|
|
|
|
{% if site.github %}
|
|
<script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script>
|
|
{% else %}
|
|
<script src="{{ site.baseurl }}/dist/js/bootstrap.js"></script>
|
|
{% endif %}
|
|
|
|
{% if site.github %}
|
|
<script src="{{ site.baseurl }}/assets/js/docs.min.js"></script>
|
|
{% else %}
|
|
{% for file in site.data.configBridge.paths.docsJs %}
|
|
<script src="{{ site.baseurl }}/{{ file }}"></script>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
|
|
<script src="{{ site.baseurl }}/assets/js/ie-emulation-modes-warning.js"></script>
|
|
|
|
{% if page.layout == "docs" %}
|
|
<script src="{{ site.baseurl }}/assets/js/vendor/jekyll-search.js"></script>
|
|
|
|
<script>
|
|
SimpleJekyllSearch.init({
|
|
searchInput: document.getElementById('search-input'),
|
|
resultsContainer: document.getElementById('search-results'),
|
|
searchResultTemplate: '<a class="dropdown-item" href="{url}">{title}</a>',
|
|
noResultsText: '<div class="dropdown-item no-results">Sorry, there are no results for that search.</div>',
|
|
json: '/search.json'
|
|
})
|
|
</script>
|
|
{% endif %}
|
|
|
|
<script>
|
|
Holder.addTheme('gray', {
|
|
background: '#777',
|
|
foreground: 'rgba(255,255,255,.75)',
|
|
font: 'Helvetica',
|
|
fontweight: 'normal'
|
|
})
|
|
</script>
|