aboutsummaryrefslogtreecommitdiff
path: root/themes/docsy/assets/vendor/bootstrap/site/_layouts
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2019-10-06 21:10:46 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2019-10-06 21:10:46 +0200
commit568553394d0a8b34668a75c9839a0f1f426469b2 (patch)
tree175c08844f05611b059ba6900fb6519dbbc735d2 /themes/docsy/assets/vendor/bootstrap/site/_layouts
parentd5d6f70371958eec0679831abd283498ff2731e5 (diff)
downloadwebsite-568553394d0a8b34668a75c9839a0f1f426469b2.tar.gz
website-568553394d0a8b34668a75c9839a0f1f426469b2.zip
theme: Switch to docsy theme
Diffstat (limited to 'themes/docsy/assets/vendor/bootstrap/site/_layouts')
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/default.html22
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/docs.html34
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/examples.html16
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/home.html16
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/redirect.html38
-rw-r--r--themes/docsy/assets/vendor/bootstrap/site/_layouts/simple.html12
6 files changed, 138 insertions, 0 deletions
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/default.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/default.html
new file mode 100644
index 0000000..28f4cdc
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/default.html
@@ -0,0 +1,22 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ {% include header.html %}
+ </head>
+ <body>
+ {% include skippy.html %}
+
+ {% include docs-navbar.html %}
+
+ {% if page.layout == "simple" or page.layout == "examples" %}
+ {{ content }}
+ {% else %}
+ <main id="content" role="main">
+ {{ content }}
+ </main>
+ {% endif %}
+
+ {% include footer.html %}
+ {% include scripts.html %}
+ </body>
+</html>
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/docs.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/docs.html
new file mode 100644
index 0000000..1d21255
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/docs.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ {% include header.html %}
+ </head>
+ <body>
+ {% include skippy.html %}
+
+ {% include docs-navbar.html %}
+
+ <div class="container-fluid">
+ <div class="row flex-xl-nowrap">
+ <div class="col-12 col-md-3 col-xl-2 bd-sidebar">
+ {% include docs-sidebar.html %}
+ </div>
+
+ {% if page.toc %}
+ <div class="d-none d-xl-block col-xl-2 bd-toc">
+ {{ content | toc_only }}
+ </div>
+ {% endif %}
+
+ <main class="col-12 col-md-9 col-xl-8 py-md-3 pl-md-5 bd-content" role="main">
+ <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
+ <p class="bd-lead">{{ page.description | smartify }}</p>
+ {% include ads.html %}
+ {{ content }}
+ </main>
+ </div>
+ </div>
+
+ {% include scripts.html %}
+ </body>
+</html>
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/examples.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/examples.html
new file mode 100644
index 0000000..1f8fbcd
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/examples.html
@@ -0,0 +1,16 @@
+---
+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>
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/home.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/home.html
new file mode 100644
index 0000000..88a23d4
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/home.html
@@ -0,0 +1,16 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ {% include header.html %}
+ </head>
+ <body>
+ {% include skippy.html %}
+
+ {% include docs-navbar.html %}
+
+ {{ content }}
+
+ {% include footer.html %}
+ {% include scripts.html %}
+ </body>
+</html>
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/redirect.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/redirect.html
new file mode 100644
index 0000000..a30e77b
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/redirect.html
@@ -0,0 +1,38 @@
+<!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&hellip;</h1>
+ <a href="{{ page.redirect.to }}">Click here if you are not redirected</a>
+ </body>
+</html>
diff --git a/themes/docsy/assets/vendor/bootstrap/site/_layouts/simple.html b/themes/docsy/assets/vendor/bootstrap/site/_layouts/simple.html
new file mode 100644
index 0000000..dfd9afd
--- /dev/null
+++ b/themes/docsy/assets/vendor/bootstrap/site/_layouts/simple.html
@@ -0,0 +1,12 @@
+---
+layout: default
+---
+
+<div class="container my-5">
+ <main class="bd-content" role="main">
+ <h1 class="bd-title" id="content">{{ page.title | smartify }}</h1>
+ <p class="bd-lead">{{ page.description | smartify }}</p>
+ {% include ads.html %}
+ {{ content }}
+ </main>
+</div>