diff options
Diffstat (limited to 'site/layouts/shortcodes/added-in.html')
| -rw-r--r-- | site/layouts/shortcodes/added-in.html | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/site/layouts/shortcodes/added-in.html b/site/layouts/shortcodes/added-in.html new file mode 100644 index 000000000..abd8dc4f3 --- /dev/null +++ b/site/layouts/shortcodes/added-in.html @@ -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-emphasis bg-success-subtle border border-success-subtle rounded-2">Added in v{{ $version }}</small> |
