aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/twbs/bootstrap/site/_layouts/simple.html
blob: 833061b700fb1bb3be70acda55b1cb738f503595 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
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" -%}
    <div class="d-flex flex-column flex-sm-row">
      <a href="{{ site.download.dist_examples }}" class="btn btn-bd-primary py-2 px-3" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download Examples');">Download examples</a>
      <a href="{{ site.download.source }}" class="btn btn-outline-secondary py-2 px-3 mt-3 mt-sm-0 ml-sm-3" onclick="ga('send', 'event', 'Examples', 'Hero', 'Download');">Download source code</a>
    </div>
    {%- endif -%}
  </div>
  {% include ads.html %}
</header>

<main class="bd-content p-5" id="content" role="main">
  {{ content }}
</main>