mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
parent
c0655ba6ce
commit
f50ee6bbe5
1 changed files with 4 additions and 1 deletions
|
@ -7,13 +7,16 @@ menu:
|
||||||
docs:
|
docs:
|
||||||
parent: "functions"
|
parent: "functions"
|
||||||
keywords: [dictionary]
|
keywords: [dictionary]
|
||||||
signature: ["$params := merge $default_params $user_params"]
|
signature: ["collections.Merge MAP MAP...", "merge MAP MAP..."]
|
||||||
workson: []
|
workson: []
|
||||||
hugoversion: "0.56.0"
|
hugoversion: "0.56.0"
|
||||||
relatedfuncs: [dict, append, reflect.IsMap, reflect.IsSlice]
|
relatedfuncs: [dict, append, reflect.IsMap, reflect.IsSlice]
|
||||||
aliases: []
|
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.
|
An example merging two maps.
|
||||||
|
|
||||||
```go-html-template
|
```go-html-template
|
||||||
|
|
Loading…
Reference in a new issue