diff --git a/themes/geekboot/layouts/partials/feature-state-alert.html b/themes/geekboot/layouts/partials/feature-state-alert.html index ddfd1a6e..ad39f7bf 100644 --- a/themes/geekboot/layouts/partials/feature-state-alert.html +++ b/themes/geekboot/layouts/partials/feature-state-alert.html @@ -26,11 +26,12 @@

This feature was introduced in v{{.Page.Params.alphaVersion}}. {{ if eq .Page.Params.state "beta" }} -
- This feature graduated to beta status in v{{.Page.Params.betaVersion}}. +
+ This feature graduated to beta status in v{{.Page.Params.betaVersion}}. {{ end }} - {{ $ver := (printf "v%s" .Page.Params.version) }} - {{ if eq .Page.Params.version "master" }} + {{ $verParam := .Page.Params.version | default .Site.Params.latest }} + {{ $ver := (printf "v%s" $verParam) }} + {{ if eq $verParam "master" }} {{ $ver = "master" }} {{ end }}