mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
fix(i): error calling merge: destination must be a map, got <nil>
This commit is contained in:
@@ -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 -}}
|
{{- .Store.Set "this" dict -}}
|
||||||
|
|
||||||
{{- partial "init/detection-env.html" . -}}
|
{{- partial "init/detection-env.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 -}}
|
{{- $version := .Get 0 -}}
|
||||||
{{- $type := .Get 1 | default "new" | lower -}}
|
{{- $type := .Get 1 | default "new" | lower -}}
|
||||||
{{- $label := T (printf "version.%v" $type) | default (upper $type) -}}
|
{{- $label := T (printf "version.%v" $type) | default (upper $type) -}}
|
||||||
|
|||||||
Reference in New Issue
Block a user