The source project of this merge request has been removed.
Fix incorrect use of isset
With the release of Hugo v0.21 the following warning is output when using beautifulhugo theme:
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.
This is due to a change in IsSet[0] and has been fixed in upstream beautifulhugo[1]. This commit brings that change to Hugo Gitlab Pages repo to get rid of the warning (which is planned to be an error in the future).
[0] https://github.com/spf13/hugo/commit/38661c17bb8c31c9f31ee18f8eba5e3bfddd5574
[1] https://github.com/halogenica/beautifulhugo/commit/f86398e399c828b324db76913858173acff94a1a