Hello,
I’m using an old version of Hugo where .Scratch.Values
and dict.merge
are not available, as they were introduced in later versions.
Could you please suggest an alternative way for converting a Scratch
to a dict
?
Hello,
I’m using an old version of Hugo where .Scratch.Values
and dict.merge
are not available, as they were introduced in later versions.
Could you please suggest an alternative way for converting a Scratch
to a dict
?
WIthout knowing anything about the Scratch content, I don’t think that is possible.
But if you use .Scratch.SetInMap
, you can get the raw map back with .Scratch.Get
.