mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Combine examples and simple layouts.
This commit is contained in:
parent
7d6a0aa24d
commit
43c20b912e
4 changed files with 36 additions and 49 deletions
|
@ -1,16 +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>
|
|
||||||
<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>
|
|
|
@ -2,4 +2,17 @@
|
||||||
layout: default
|
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 }}
|
{{ content }}
|
||||||
|
</main>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: examples
|
layout: simple
|
||||||
title: Examples
|
title: Examples
|
||||||
description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.
|
description: Quickly get a project started with any of our examples ranging from using parts of the framework to custom components and layouts.
|
||||||
redirect_from: "/examples/"
|
redirect_from: "/examples/"
|
||||||
|
|
|
@ -4,15 +4,6 @@ title: Versions
|
||||||
description: An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v4.
|
description: An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v4.
|
||||||
---
|
---
|
||||||
|
|
||||||
<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>
|
|
||||||
</div>
|
|
||||||
{% include ads.html %}
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main class="bd-content p-5">
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
{% for release in site.data.docs-versions %}
|
{% for release in site.data.docs-versions %}
|
||||||
<div class="col-md">
|
<div class="col-md">
|
||||||
|
@ -35,4 +26,3 @@ description: An appendix of hosted documentation for nearly every release of Boo
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</main>
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue