Repeating regions

I’m looking for create a repeating region within my Middleman project, but I don’t know if something like this is possible?

If you take a look here you’ll see a list, but further down the page, the same list is repeated.

Is there a way of being able to define this as a region (or similar) so that I don’t need to write the markup for it twice?

Thank you :slight_smile:

yield_content may be what you need.

Some bugs to work around though, see thread about this

Sounds like what you need is a Partial (search the page). Using a partial for that list should allow you to dry up that page.

1 Like

@karlfreeman Partials are exactly what I needed, thank you.

(I did look at the documentation, but I guess that page must have evaded me)