Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
43c20b91
Commit
43c20b91
authored
6 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Combine examples and simple layouts.
parent
7d6a0aa2
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
site/_layouts/examples.html
+0
-16
site/_layouts/examples.html
site/_layouts/simple.html
+14
-1
site/_layouts/simple.html
site/docs/4.1/examples/index.html
+1
-1
site/docs/4.1/examples/index.html
site/docs/versions.html
+21
-31
site/docs/versions.html
with
36 additions
and
49 deletions
+36
-49
site/_layouts/examples.html
deleted
100644 → 0
+
0
-
16
View file @
7d6a0aa2
---
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>
This diff is collapsed.
Click to expand it.
site/_layouts/simple.html
+
14
-
1
View file @
43c20b91
...
@@ -2,4 +2,17 @@
...
@@ -2,4 +2,17 @@
layout: default
layout: default
---
---
{{ content }}
<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>
This diff is collapsed.
Click to expand it.
site/docs/4.1/examples/index.html
+
1
-
1
View file @
43c20b91
---
---
layout:
exa
mple
s
layout:
si
mple
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/"
...
...
This diff is collapsed.
Click to expand it.
site/docs/versions.html
+
21
-
31
View file @
43c20b91
...
@@ -4,35 +4,25 @@ title: Versions
...
@@ -4,35 +4,25 @@ 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=
"row"
>
<div
class=
"pt-md-3 pb-md-4"
>
{% for release in site.data.docs-versions %}
<h1
class=
"bd-title mt-0"
>
{{ page.title | smartify }}
</h1>
<div
class=
"col-md"
>
<p
class=
"bd-lead"
>
{{ page.description | smartify }}
</p>
<h2>
{{ release.group }}
</h2>
<p>
{{ release.description }}
</p>
{% for version in release.versions %}
{% if forloop.first %}
<div
class=
"list-group"
>
{% endif %}
{% if version.v == site.docs_version %}
<a
class=
"list-group-item list-group-item-action py-2 text-primary d-flex justify-content-between align-items-center"
href=
"{{ release.baseurl }}/{{ version.v }}/"
>
{{ version.v }}
<span
class=
"badge badge-primary"
>
Latest
</span>
</a>
{% else %}
<a
class=
"list-group-item list-group-item-action py-2 text-primary"
href=
"{{ release.baseurl }}/{{ version.v }}/"
>
{{ version.v }}
</a>
{% endif %}
{% if forloop.last %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
{% include ads.html %}
{% endfor %}
</header>
</div>
<main
class=
"bd-content p-5"
>
<div
class=
"row"
>
{% for release in site.data.docs-versions %}
<div
class=
"col-md"
>
<h2>
{{ release.group }}
</h2>
<p>
{{ release.description }}
</p>
{% for version in release.versions %}
{% if forloop.first %}
<div
class=
"list-group"
>
{% endif %}
{% if version.v == site.docs_version %}
<a
class=
"list-group-item list-group-item-action py-2 text-primary d-flex justify-content-between align-items-center"
href=
"{{ release.baseurl }}/{{ version.v }}/"
>
{{ version.v }}
<span
class=
"badge badge-primary"
>
Latest
</span>
</a>
{% else %}
<a
class=
"list-group-item list-group-item-action py-2 text-primary"
href=
"{{ release.baseurl }}/{{ version.v }}/"
>
{{ version.v }}
</a>
{% endif %}
{% if forloop.last %}
</div>
{% endif %}
{% endfor %}
</div>
{% endfor %}
</div>
</main>
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment