hugo/hugolib
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
..
benchmark_test.go
menu.go
node.go
page.go Use md5 against the file path for uniqueness. 2014-10-07 16:45:23 -04:00
page_permalink_test.go
page_taxonomy_test.go
page_test.go #462 fix, remove leading and trailing dashes from urlized slug. includes test changes 2014-10-07 17:05:11 -04:00
page_time_integration_test.go
pageGroup.go
pageSort.go
path_seperators_test.go
path_seperators_windows_test.go
permalinks.go #462 fix, remove leading and trailing dashes from urlized slug. includes test changes 2014-10-07 17:05:11 -04:00
permalinks_test.go
planner.go
redis.cn.md
rss_test.go
shortcode.go Use md5 against the file path for uniqueness. 2014-10-07 16:45:23 -04:00
shortcode_test.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
site.go Feed the titleized taxonomy key through string replace to replace '-' with ' ' for proper display of the taxonmy title 2014-10-07 17:01:39 -04:00
site_show_plan_test.go
site_test.go add some information to rendering errors so it's easier to tell what's failing. 2014-09-29 09:19:39 -04:00
site_url_test.go
siteinfo_test.go
sitemap.go
sitemap_test.go
summary.go
taxonomy.go
taxonomy_test.go
template.go Add nil-check to Intersect 2014-10-15 12:31:22 -04:00
template_embedded.go add 'width' parameter to 'figure' shortcode 2014-10-15 12:09:26 -04:00
template_test.go Add nil-check to Intersect 2014-10-15 12:31:22 -04:00