mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-14 02:16:09 +00:00
1 parent
f1e093c92a
commit
d917567df8
1 file changed
+4
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user