1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
bep 16330cea91 Add nil-check to Intersect
The Intersect template-method would fail if one or both of the lists were nil (post vs page; post has tags, page has not).

This commit adds a nil-check and returns an empty result if any of the inputs are nil.

See #537
2014-10-15 12:31:22 -04:00
..
2014-05-09 23:11:42 -04:00
2014-05-09 23:11:33 -04:00
2014-10-15 12:31:22 -04:00
2014-10-15 12:31:22 -04:00