Back to Vector

Deprecations

website/layouts/shortcodes/deprecations.html

0.57.0826 B
Original Source

{{- $version := .Get "version" -}} {{ if $version }} {{ partial "releases/deprecations.html" (dict "version" $version) }} {{ else }} {{- $pending := site.Data.deprecations.deprecations_pending -}} {{- $enacted := site.Data.deprecations.deprecations_enacted -}} {{ if gt (len $pending) 0 }}

{{ range $pending }} {{ .what | markdownify }} Deprecated since {{ .deprecated_since }} {{ with .description }} {{ . | markdownify }} {{ end }} {{ end }} {{ end }} {{ if gt (len $enacted) 0 }} {{ range $enacted }} {{ .what | markdownify }} Deprecated since {{ .deprecated_since }} · Removed in {{ .removed_in }} {{ with .description }} {{ . | markdownify }} {{ end }} {{ end }} {{ end }} {{ if and (eq (len $pending) 0) (eq (len $enacted) 0) }}

No deprecations at this time.

{{ end }} {{ end }}