hugolib: Use the interface value when doing Related search
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Aug 2018 16:19:45 +0000 (18:19 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 14 Aug 2018 16:19:45 +0000 (18:19 +0200)
commita6f199f7a640161333608b4a843d701f7e182829
tree9c305d823397df0c8dd840d38fbff318f0bbf481
parent0dd06bdac008aa81ec2e8f29ad8110dac0227011
hugolib: Use the interface value when doing Related search

Currently it makes no practical difference, but this is more a protection if we in the future creates index from the content related fields. That will not work from a shortcode.

See #5071
hugolib/pages_related.go