Corrected the usage of custom fields in {{ pages:display }}. Both pages:children and pages:display now use the {{ custom_fields }} {{ field }} {{ /custom_fields }} syntax.
Fixes #2520