Help required in theme codes

This is by design. It keeps the custom theme more compact and more generic so single custom theme can be applied on any document.

You can delete custom field loop altogether from your theme and directly inject the content of custom fields wherever you like.

For example:

My field: {{ custom_fields["My field"] }}

See? No loop. Just directly injecting specific custom field somewhere.

1 Like