diff options
author | Cameron Moore <moorereason@gmail.com> | 2018-10-02 21:46:32 -0500 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-10-03 09:33:42 +0300 |
commit | 498d6299581bead0f582431b8133d8b5f8760618 (patch) | |
tree | cd7cdda367d5b27e9ad50b861743c9a580b36397 /hugolib/site_test.go | |
parent | 10ac2ec4466090957e1f6897906ddeb1e0b13673 (diff) |
hugolib: Allow nil to be unwrapped as *Page
Previously, calls to *Page.Eq(nil) would always return false because the
unwrapPage func didn't support the nil case. Add support for unwrapping
nil to a *Page.
Fixes #5043
Diffstat (limited to 'hugolib/site_test.go')
0 files changed, 0 insertions, 0 deletions