diff options
Diffstat (limited to 'site/_layouts')
-rw-r--r-- | site/_layouts/default.html | 22 | ||||
-rw-r--r-- | site/_layouts/docs.html | 34 | ||||
-rw-r--r-- | site/_layouts/examples.html | 52 | ||||
-rw-r--r-- | site/_layouts/home.html | 16 | ||||
-rw-r--r-- | site/_layouts/simple.html | 18 |
5 files changed, 0 insertions, 142 deletions
diff --git a/site/_layouts/default.html b/site/_layouts/default.html deleted file mode 100644 index 59f5c122b8..0000000000 --- a/site/_layouts/default.html +++ /dev/null @@ -1,22 +0,0 @@ -<!doctype html> -<html lang="en"> - <head> - {% include header.html %} - </head> - <body> - {% include skippy.html %} - - {% include docs-navbar.html %} - - {% if page.layout == "simple" %} - {{ content }} - {% else %} - <main id="content" role="main"> - {{ content }} - </main> - {% endif %} - - {% include footer.html %} - {% include scripts.html %} - </body> -</html> diff --git a/site/_layouts/docs.html b/site/_layouts/docs.html deleted file mode 100644 index cc4910c041..0000000000 --- a/site/_layouts/docs.html +++ /dev/null @@ -1,34 +0,0 @@ -<!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 %} - <nav class="d-none d-xl-block col-xl-2 bd-toc" aria-label="Secondary navigation"> - {{ content | toc_only }} - </nav> - {% 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/site/_layouts/examples.html b/site/_layouts/examples.html deleted file mode 100644 index f7e4556e40..0000000000 --- a/site/_layouts/examples.html +++ /dev/null @@ -1,52 +0,0 @@ -<!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"> - <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 -%} - {%- 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/site/_layouts/home.html b/site/_layouts/home.html deleted file mode 100644 index 88a23d49ce..0000000000 --- a/site/_layouts/home.html +++ /dev/null @@ -1,16 +0,0 @@ -<!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/site/_layouts/simple.html b/site/_layouts/simple.html deleted file mode 100644 index bbf808df33..0000000000 --- a/site/_layouts/simple.html +++ /dev/null @@ -1,18 +0,0 @@ ---- -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> - {%- 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> |