2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-20 20:00:36 +03:00

Convert added in badges to shortcode (#36007)

This commit is contained in:
Mark Otto
2022-03-11 21:27:58 -08:00
committed by GitHub
parent 1936e0c5ea
commit 7c966f5848
15 changed files with 21 additions and 16 deletions
+5
View 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>