mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
@@ -39,7 +39,7 @@ func (ns *Namespace) Unmarshal(args ...interface{}) (interface{}, error) {
|
||||
}
|
||||
|
||||
var data interface{}
|
||||
var decoder = metadecoders.Default
|
||||
decoder := metadecoders.Default
|
||||
|
||||
if len(args) == 1 {
|
||||
data = args[0]
|
||||
|
Reference in New Issue
Block a user