diff --git a/site/_layouts/examples.html b/site/_layouts/examples.html deleted file mode 100644 index 1f8fbcdec783..000000000000 --- a/site/_layouts/examples.html +++ /dev/null @@ -1,16 +0,0 @@ ---- -layout: default ---- - -
-
-

{{ page.title | smartify }}

-

{{ page.description | smartify }}

- Download source code -
- {% include ads.html %} -
- -
- {{ content }} -
diff --git a/site/_layouts/simple.html b/site/_layouts/simple.html index 5e7112684af4..bbf808df3363 100644 --- a/site/_layouts/simple.html +++ b/site/_layouts/simple.html @@ -2,4 +2,17 @@ layout: default --- -{{ content }} +
+
+

{{ page.title | smartify }}

+

{{ page.description | smartify }}

+ {%- if page.title == "Examples" -%} + Download source code + {%- endif -%} +
+ {% include ads.html %} +
+ +
+ {{ content }} +
diff --git a/site/docs/4.1/examples/index.html b/site/docs/4.1/examples/index.html index 3bb984382fff..328ec397a29e 100644 --- a/site/docs/4.1/examples/index.html +++ b/site/docs/4.1/examples/index.html @@ -1,5 +1,5 @@ --- -layout: examples +layout: simple 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. redirect_from: "/examples/" diff --git a/site/docs/versions.html b/site/docs/versions.html index 935872de6776..f883f52854fd 100644 --- a/site/docs/versions.html +++ b/site/docs/versions.html @@ -4,35 +4,25 @@ description: An appendix of hosted documentation for nearly every release of Bootstrap, from v1 through v4. --- -
-
-

{{ page.title | smartify }}

-

{{ page.description | smartify }}

+
+{% for release in site.data.docs-versions %} +
+

{{ release.group }}

+

{{ release.description }}

+ {% for version in release.versions %} + {% if forloop.first %}
{% endif %} + {% if version.v == site.docs_version %} + + {{ version.v }} + Latest + + {% else %} + + {{ version.v }} + + {% endif %} + {% if forloop.last %}
{% endif %} + {% endfor %}
- {% include ads.html %} -
- -
-
- {% for release in site.data.docs-versions %} -
-

{{ release.group }}

-

{{ release.description }}

- {% for version in release.versions %} - {% if forloop.first %}
{% endif %} - {% if version.v == site.docs_version %} - - {{ version.v }} - Latest - - {% else %} - - {{ version.v }} - - {% endif %} - {% if forloop.last %}
{% endif %} - {% endfor %} -
- {% endfor %} -
-
+{% endfor %} +