resources: Return nil when not found in resources.Get
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 29 May 2019 20:33:03 +0000 (22:33 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 29 May 2019 20:33:03 +0000 (22:33 +0200)
commit4c560020bc0c50f8004873be8adf83698b7c095a
tree34f69d29774d2e6409436c4ecba98231947601f7
parentd44d3ea89865baa33170244cac72a7ce26419b15
resources: Return nil when not found in resources.Get

Fixes #5999
hugolib/resource_chain_test.go
resources/resource.go