Socialify

Folder ..

Viewing deprecated-in.html
5 lines (3 loc) • 279.0 B

1
2
3
4
5
{{- /* Outputs badge to identify the version something was deprecated */ -}}

{{- $version := .Get 0 -}}

<small class="d-inline-flex mb-3 px-2 py-1 fw-semibold text-warning-emphasis bg-warning-subtle border border-warning-subtle rounded-2">Deprecated in v{{ $version }}</small>