From: Cameron Moore Date: Mon, 7 Sep 2020 20:27:59 +0000 (-0500) Subject: docs: Update merge function X-Git-Tag: v0.75.0~45 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f50ee6bbe5ec0c0a1f7c21da6629faaed23bbe71;p=brevno-suite%2Fhugo docs: Update merge function Updates for #7601 --- diff --git a/docs/content/en/functions/merge.md b/docs/content/en/functions/merge.md index cea93c53..cae806d4 100644 --- a/docs/content/en/functions/merge.md +++ b/docs/content/en/functions/merge.md @@ -7,13 +7,16 @@ menu: docs: parent: "functions" keywords: [dictionary] -signature: ["$params := merge $default_params $user_params"] +signature: ["collections.Merge MAP MAP...", "merge MAP MAP..."] workson: [] hugoversion: "0.56.0" relatedfuncs: [dict, append, reflect.IsMap, reflect.IsSlice] aliases: [] --- +Merge creates a copy of the final `MAP` and merges any preceeding `MAP` into it in reverse order. +Key handling is case-insensitive. + An example merging two maps. ```go-html-template