aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/_layouts/simple.html
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/twbs/bootstrap/site/_layouts/simple.html')
-rw-r--r--vendor/twbs/bootstrap/site/_layouts/simple.html20
1 files changed, 13 insertions, 7 deletions
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>