Skip to content

Commit b160922

Browse files
committed
Improve front matter "added" params
Add missing ones and add the ability to show or hide the badge Fixes a few more 404 errors in the version picker
1 parent 80be46a commit b160922

16 files changed

Lines changed: 35 additions & 16 deletions

File tree

site/content/docs/5.3/components/placeholders.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Placeholders
44
description: Use loading placeholders for your components or pages to indicate something may still be loading.
55
group: components
66
toc: true
7-
added: "5.1"
7+
added:
8+
version: "5.1"
89
---
910

1011
## About

site/content/docs/5.3/customize/color-modes.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Color modes
44
description: Bootstrap now supports color modes, or themes, as of v5.3.0. Explore our default light color mode and the new dark mode, or create your own using our styles as your template.
55
group: customize
66
toc: true
7-
added: "5.3"
7+
added:
8+
version: "5.3"
89
---
910

1011
{{< callout >}}

site/content/docs/5.3/getting-started/contribute.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: Help develop Bootstrap with our documentation build scripts and tes
55
group: getting-started
66
toc: true
77
aliases: "/docs/5.3/getting-started/build-tools/"
8+
added:
9+
show_badge: false
10+
version: "5.1"
811
---
912

1013
## Tooling setup

site/content/docs/5.3/getting-started/vite.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ description: The official guide for how to include and bundle Bootstrap's CSS an
55
group: getting-started
66
toc: true
77
thumbnail: guides/bootstrap-vite@2x.png
8+
added:
9+
show_badge: false
10+
version: "5.2"
811
---
912

1013
<img class="mb-4 img-fluid rounded-3" srcset="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png, /docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite@2x.png 2x" src="/docs/{{< param docs_version >}}/assets/img/guides/bootstrap-vite.png" width="2000" height="1000" alt="">

site/content/docs/5.3/helpers/color-background.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Color and background
44
description: Set a background color with contrasting foreground color.
55
group: helpers
66
toc: true
7-
added: "5.2"
7+
added:
8+
version: "5.2"
89
---
910

1011
## Overview

site/content/docs/5.3/helpers/focus-ring.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Focus ring
44
description: Utility classes that allows you to add and modify custom focus ring styles to elements and components.
55
group: helpers
66
toc: true
7-
added: "5.3"
7+
added:
8+
version: "5.3"
89
---
910

1011
The `.focus-ring` helper removes the default `outline` on `:focus`, replacing it with a `box-shadow` that can be more broadly customized. The new shadow is made up of a series of CSS variables, inherited from the `:root` level, that can be modified for any element or component.

site/content/docs/5.3/helpers/icon-link.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Icon link
44
description: Quickly create stylized hyperlinks with Bootstrap Icons or other icons.
55
group: helpers
66
toc: true
7-
added: 5.3
7+
added:
8+
version: "5.3"
89
---
910

1011
The icon link helper component modifies our default link styles to enhance their appearance and quickly align any pairing of icon and text. Alignment is set via inline flexbox styling and a default `gap` value. We stylize the underline with a custom offset and color. Icons are automatically sized to `1em` to best match their associated text's `font-size`.

site/content/docs/5.3/helpers/stacks.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Stacks
44
description: Shorthand helpers that build on top of our flexbox utilities to make component layout faster and easier than ever.
55
group: helpers
66
toc: true
7-
added: "5.1"
7+
added:
8+
version: "5.1"
89
---
910

1011
Stacks offer a shortcut for applying a number of flexbox properties to quickly and easily create layouts in Bootstrap. All credit for the concept and implementation goes to the open source [Pylon project](https://almonk.github.io/pylon/).

site/content/docs/5.3/helpers/vertical-rule.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: Vertical rule
44
description: Use the custom vertical rule helper to create vertical dividers like the `<hr>` element.
55
group: helpers
66
toc: true
7-
added: "5.1"
7+
added:
8+
version: "5.1"
89
---
910

1011
## How it works

site/content/docs/5.3/layout/css-grid.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ title: CSS Grid
44
description: Learn how to enable, use, and customize our alternate layout system built on CSS Grid with examples and code snippets.
55
group: layout
66
toc: true
7-
added: "5.1"
7+
added:
8+
version: "5.1"
89
---
910

1011
Bootstrap's default grid system represents the culmination of over a decade of CSS layout techniques, tried and tested by millions of people. But, it was also created without many of the modern CSS features and techniques we're seeing in browsers like the new CSS Grid.

0 commit comments

Comments
 (0)