We've retired the forum in favor of GitHub Discussions.

New conversations can be started on GitHub. Existing conversations will remain for a while longer.

Head over to GitHub →

Trouble With Fieldsets

Denis Radenkovic June 9, 2020 by Denis Radenkovic


I'm brand new to Statamic. I've been following this video to model content.

I've created the first block, {{ if type == "Hero" }}, but after I add another one, the content wrappoed in the following block doesn't display.

If I include the contents of the second block into the first one, so effectively extend the Hero up to where the block #2 would have ended, it does work - I can see all the content, and can get it to show in the cp with home.yaml etc.

Whatever I'm doing wrong here, seems to have something to do with how or where one block ends and another begins. It does feels like I'm missing something basic.

Any help would be apreciated. Thank you!

>>>>>>> Unanswered <<<<<<<
3 Replies