footer.html 2.84 KB
Newer Older
XhmikosR's avatar
XhmikosR committed
1
<footer class="bd-footer text-muted">
Mark Otto's avatar
Mark Otto committed
2
3
  <div class="container">
    <ul class="bd-footer-links">
4
      <li><a href="{{ site.repo }}">GitHub</a></li>
5
      <li><a href="https://twitter.com/getbootstrap">Twitter</a></li>
wangsai's avatar
wangsai committed
6
7
      <li><a href="{{ site.baseurl }}/examples/">Examples</a></li>
      <li><a href="{{ site.baseurl }}/about/history/">About</a></li>
Mark Otto's avatar
Mark Otto committed
8
    </ul>
9
    <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>
Mark Otto's avatar
Mark Otto committed
10
    <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>
Mark Otto's avatar
Mark Otto committed
11
12
13
  </div>
</footer>

14
<script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
15
<script>window.jQuery || document.write('<script src="{{ site.baseurl }}/assets/js/vendor/jquery-slim.min.js"><\/script>')</script>
Mark Otto's avatar
Mark Otto committed
16

17
<script src="{{ site.baseurl }}/assets/js/vendor/popper.min.js"></script>
18

19
{% if site.github %}
Mark Otto's avatar
Mark Otto committed
20
  <script src="{{ site.baseurl }}/dist/js/bootstrap.min.js"></script>
21
{% else %}
Mark Otto's avatar
Mark Otto committed
22
  <script src="{{ site.baseurl }}/dist/js/bootstrap.js"></script>
23
{% endif %}
Mark Otto's avatar
Mark Otto committed
24

25
{% if site.github %}
Mark Otto's avatar
Mark Otto committed
26
  <script src="{{ site.baseurl }}/assets/js/docs.min.js"></script>
27
{% else %}
Bardi Harborow's avatar
Bardi Harborow committed
28
29
30
31
  <script src="{{ site.baseurl }}/assets/js/vendor/anchor.min.js"></script>
  <script src="{{ site.baseurl }}/assets/js/vendor/clipboard.min.js"></script>
  <script src="{{ site.baseurl }}/assets/js/vendor/holder.min.js"></script>
  <script src="{{ site.baseurl }}/assets/js/src/application.js"></script>
32
{% endif %}
Mark Otto's avatar
Mark Otto committed
33

34
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
Mark Otto's avatar
Mark Otto committed
35
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
36
<script src="{{ site.baseurl }}/assets/js/ie-emulation-modes-warning.js"></script>
fat's avatar
fat committed
37

Maxime Locqueville's avatar
Maxime Locqueville committed
38
{% if page.layout == "docs" %}
39
40
41
<script type="text/javascript" src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js"></script>
<script type="text/javascript">
  var docsearch = docsearch({
Maxime Locqueville's avatar
Maxime Locqueville committed
42
43
44
    apiKey: '48cb48b22351bc71ea5f12f4d1ede198',
    indexName: 'bootstrap-v4',
    inputSelector: '#search-input',
45
46
47
48
49
50
51
    transformData: function (hits) {
      return hits.map(function (hit) {
        hit.url = hit.url.replace('https://v4-alpha.getbootstrap.com', '');
        return hit;
      });
    },
    debug: false // Set debug to true if you want to inspect the dropdown
52
  });
53
</script>
Maxime Locqueville's avatar
Maxime Locqueville committed
54
{% endif %}
Mark Otto's avatar
Mark Otto committed
55

56
<script>
Mark Otto's avatar
Mark Otto committed
57
Holder.addTheme('gray', {
58
59
  bg: '#777',
  fg: 'rgba(255,255,255,.75)',
Mark Otto's avatar
Mark Otto committed
60
  font: 'Helvetica',
Mark Otto's avatar
Mark Otto committed
61
  fontweight: 'normal'
Mark Otto's avatar
Mark Otto committed
62
})
63
</script>