diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-05-10 14:21:36 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-05-10 14:21:36 +0200 |
commit | 9866053f0ce44721c11990c9f9407e7428757c99 (patch) | |
tree | 6e414efa36c3bda00205918cecb9122f951427e3 /vendor/twbs/bootstrap/site/_layouts | |
parent | 89a2c1a09c896ac3a23df26a1783f5c682188a56 (diff) | |
download | volse-hubzilla-9866053f0ce44721c11990c9f9407e7428757c99.tar.gz volse-hubzilla-9866053f0ce44721c11990c9f9407e7428757c99.tar.bz2 volse-hubzilla-9866053f0ce44721c11990c9f9407e7428757c99.zip |
update bootstrap to version 4.3.1
Diffstat (limited to 'vendor/twbs/bootstrap/site/_layouts')
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/default.html | 2 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/examples.html | 71 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/redirect.html | 38 | ||||
-rw-r--r-- | vendor/twbs/bootstrap/site/_layouts/simple.html | 20 |
4 files changed, 69 insertions, 62 deletions
diff --git a/vendor/twbs/bootstrap/site/_layouts/default.html b/vendor/twbs/bootstrap/site/_layouts/default.html index 28f4cdccb..59f5c122b 100644 --- a/vendor/twbs/bootstrap/site/_layouts/default.html +++ b/vendor/twbs/bootstrap/site/_layouts/default.html @@ -8,7 +8,7 @@ {% include docs-navbar.html %} - {% if page.layout == "simple" or page.layout == "examples" %} + {% if page.layout == "simple" %} {{ content }} {% else %} <main id="content" role="main"> diff --git a/vendor/twbs/bootstrap/site/_layouts/examples.html b/vendor/twbs/bootstrap/site/_layouts/examples.html index 1f8fbcdec..cecd1145d 100644 --- a/vendor/twbs/bootstrap/site/_layouts/examples.html +++ b/vendor/twbs/bootstrap/site/_layouts/examples.html @@ -1,16 +1,55 @@ ---- -layout: default ---- - -<header class="d-flex flex-column flex-md-row align-items-md-center p-5 bg-light"> - <div class="pt-md-3 pb-md-4"> - <h1 class="bd-title mt-0">{{ page.title | smartify }}</h1> - <p class="bd-lead">{{ page.description | smartify }}</p> - <a href="{{ site.download.source }}" class="btn btn-lg btn-bd-primary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a> - </div> - {% include ads.html %} -</header> - -<main class="bd-content p-5" id="content" role="main"> - {{ content }} -</main> +<!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 %} + + <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" -%} + <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> diff --git a/vendor/twbs/bootstrap/site/_layouts/redirect.html b/vendor/twbs/bootstrap/site/_layouts/redirect.html deleted file mode 100644 index a30e77bf4..000000000 --- a/vendor/twbs/bootstrap/site/_layouts/redirect.html +++ /dev/null @@ -1,38 +0,0 @@ -<!doctype html> -<html lang="en"> - <head> - <meta charset="utf-8"> - <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> - <title>Bootstrap · Content moved</title> - <link rel="canonical" href="{{ page.redirect.to }}"> - <script>window.location="{{ page.redirect.to }}";</script> - <meta http-equiv="refresh" content="0; url={{ page.redirect.to }}"> - <meta name="robots" content="noindex"> - <style> - html { - display: flex; - align-items: center; - justify-content: center; - margin: 0; - width: 100vw; - height: 100vh; - text-align: center; - } - body { - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; - } - h1 { - margin-top: 0; - margin-bottom: .5rem; - } - a { - color: #007bff; - text-decoration: none; - } - </style> - </head> - <body> - <h1>Redirecting…</h1> - <a href="{{ page.redirect.to }}">Click here if you are not redirected</a> - </body> -</html> diff --git a/vendor/twbs/bootstrap/site/_layouts/simple.html b/vendor/twbs/bootstrap/site/_layouts/simple.html index dfd9afd16..bbf808df3 100644 --- a/vendor/twbs/bootstrap/site/_layouts/simple.html +++ b/vendor/twbs/bootstrap/site/_layouts/simple.html @@ -2,11 +2,17 @@ layout: default --- -<div class="container my-5"> - <main class="bd-content" role="main"> - <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1> +<header class="d-flex flex-column flex-md-row align-items-md-center p-5 bg-light"> + <div class="pt-md-3 pb-md-4"> + <h1 class="bd-title mt-0">{{ page.title | smartify }}</h1> <p class="bd-lead">{{ page.description | smartify }}</p> - {% include ads.html %} - {{ content }} - </main> -</div> + {%- if page.title == "Examples" -%} + <a href="{{ site.download.source }}" class="btn btn-lg btn-bd-primary" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a> + {%- endif -%} + </div> + {% include ads.html %} +</header> + +<main class="bd-content p-5" id="content" role="main"> + {{ content }} +</main> |