mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Convert added in badges to shortcode (#36007)
This commit is contained in:
5
site/layouts/shortcodes/added-in.html
Normal file
5
site/layouts/shortcodes/added-in.html
Normal file
@@ -0,0 +1,5 @@
|
||||
{{- /* Outputs badge to identify the first version something was added */ -}}
|
||||
|
||||
{{- $version := .Get 0 -}}
|
||||
|
||||
<small class="d-inline-flex mb-3 px-2 py-1 fw-semibold text-success bg-success bg-opacity-10 border border-success border-opacity-10 rounded-2">Added in v{{ $version }}</small>
|
Reference in New Issue
Block a user