Created
January 13, 2025 21:55
-
-
Save jesseleite/95f93e4749339de2b8acc727c36809e4 to your computer and use it in GitHub Desktop.
Pull specific fields from `fields` loop in Statamic
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{{ fields = fields | key_by('handle') }} | |
<div> | |
{{ fields.name.display }} | |
{{ fields.name.field }} | |
</div> | |
<div> | |
{{ fields.email.display }} | |
{{ fields.email.field }} | |
</div> | |
etc. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment