hugo/tpl/collections
Cameron Moore 38661c17bb tpl/collections: Log an error on unsupported types in IsSet
Unsupported types are currently silently ignored by IsSet.  An earlier
attempt was made to solve the issue by returning an error.  That attempt
was reverted since it broke some existing themes.

So instead, we'll log an error.  Hopefully, people will stop using IsSet
in this way, and we can eventually return an error outright.

Updates #3092
2017-05-18 21:54:42 +03:00
..
apply.go tpl/collections: Make it a package that stands on its own 2017-05-01 15:13:41 +02:00
apply_test.go tpl/collections: Make it a package that stands on its own 2017-05-01 15:13:41 +02:00
collections.go tpl/collections: Log an error on unsupported types in IsSet 2017-05-18 21:54:42 +03:00
collections_test.go tpl/collections: Log an error on unsupported types in IsSet 2017-05-18 21:54:42 +03:00
index.go tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00
index_test.go tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00
init.go tpl: Add docshelper for template funcs 2017-05-01 21:44:15 +02:00
init_test.go tpl: Add basic tests for all namespace init funcs 2017-05-02 00:07:33 +02:00
sort.go tpl/compare: Make it a package that stands on its own 2017-05-01 15:13:41 +02:00
sort_test.go tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00
where.go tpl/collections: Add support for interfaces to intersect 2017-05-18 10:13:44 +03:00
where_test.go tpl: Add template function namespaces 2017-04-30 10:56:38 +02:00