mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-28 22:19:59 +02:00
tpl: Improve template funcs GoDoc
This commit is contained in:
@@ -24,8 +24,9 @@ import (
|
||||
"errors"
|
||||
)
|
||||
|
||||
// Merge creates a copy of the final parameter and merges the preceding
|
||||
// Merge creates a copy of the final parameter in params and merges the preceding
|
||||
// parameters into it in reverse order.
|
||||
//
|
||||
// Currently only maps are supported. Key handling is case insensitive.
|
||||
func (ns *Namespace) Merge(params ...any) (any, error) {
|
||||
if len(params) < 2 {
|
||||
|
Reference in New Issue
Block a user