hugolib: Fix potential server panic with drafts/future enabled
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 18 Jul 2018 15:01:50 +0000 (17:01 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Wed, 18 Jul 2018 15:01:50 +0000 (17:01 +0200)
commit1ab4658c0d5ea2927f04bd748206e5b139a6326e
tree265459b0dc5d89386af0aa982f2f13756f444835
parent75acff5f20d0d41ffa1ae20402001c7a82f077cb
hugolib: Fix potential server panic with drafts/future enabled

Fixes #4965
hugolib/site.go