diff --git a/layouts/_partials/init/index.html b/layouts/_partials/init/index.html index 48682410..90e2f75f 100644 --- a/layouts/_partials/init/index.html +++ b/layouts/_partials/init/index.html @@ -1,4 +1,4 @@ -{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251230083237-0ae4f635" -}} +{{- hugo.Store.Set "version" "v0.4.0-alpha.3-20251230083959-721c9d9b" -}} {{- .Store.Set "this" dict -}} {{- partial "init/detection-env.html" . -}} diff --git a/layouts/_shortcodes/version.html b/layouts/_shortcodes/version.html index 799e9933..950df5ed 100644 --- a/layouts/_shortcodes/version.html +++ b/layouts/_shortcodes/version.html @@ -1,4 +1,4 @@ -{{- $rvc := .Page.Params.repoVersion | merge .Page.Site.Params.repoVersion -}} +{{- $rvc := (.Page.Params | merge .Page.Site.Params).repoVersion -}} {{- $version := .Get 0 -}} {{- $type := .Get 1 | default "new" | lower -}} {{- $label := T (printf "version.%v" $type) | default (upper $type) -}}