aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/_layouts/examples.html
blob: 4ca4c56810eb2c05fb4a2e1e3095917822807dff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!doctype html>
<html lang="en"{% if page.html_class %} class="{{ page.html_class }}"{% endif %}>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="{{ site.authors }}">
    <meta name="generator" content="Jekyll v{{ jekyll.version }}">
    <title>{{ page.title | smartify }} · {{ site.title | smartify }}</title>

    <link rel="canonical" href="{{ site.url | append: page.url }}">

    {% include stylesheet.html %}
    {% include favicons.html %}

    <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>

    {%- for css in page.extra_css %}
    <!-- Custom styles for this template -->
    <link href="{{ css }}" rel="stylesheet">
    {%- endfor %}
  </head>
  <body{% if page.body_class %} class="{{ page.body_class }}"{% endif %}>
    {{ content }}

    {%- if page.include_js != false -%}
      <script src="{{ site.cdn.jquery }}" integrity="{{ site.cdn.jquery_hash }}" crossorigin="anonymous"></script>
      <script>window.jQuery || document.write('<script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/assets/js/vendor/jquery.slim.min.js"><\/script>')</script>

      {%- if jekyll.environment == "production" or jekyll.environment == "netlify" -%}
        <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.min.js" integrity="{{ site.cdn.js_bundle_hash }}" crossorigin="anonymous"></script>
      {%- else -%}
        <script src="{{ site.baseurl }}/docs/{{ site.docs_version }}/dist/js/bootstrap.bundle.js"></script>
      {%- endif -%}

      {%- for js in page.extra_js %}
        <script src="{{ js }}"></script>
      {%- endfor %}
    {%- endif -%}
  </body>
</html>