common/maps: Do not return error on params dot access on incompatible types
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 28 Jul 2019 10:31:32 +0000 (12:31 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Sun, 28 Jul 2019 11:03:12 +0000 (13:03 +0200)
commite393c6290e827111a8a2e486791dc21f63a92b55
tree60675fcabe21cb2aaee98625e2fad4bd53fa5afa
parent93d02aabe6e611d65c428a9c5669b422e1bcf5e8
common/maps: Do not return error on params dot access on incompatible types

This error was introduced in 0.56 and has shown some site breakage in the wild.

Fixes #6121
common/maps/params.go
common/maps/params_test.go
hugolib/page_test.go