Loops in vapid?

hello, great project !

Will loops be put in place in the near future so that we can administer image lists or project lists for example?

@binah If I’m understanding correctly, loops already exist. Take a look at the Repeating Content section in the docs:

For easy reference, here’s how you’d write a repeating section for projects (i.e. a loop):

{{#section projects}}
  {{description type=html}}

Note: You could also declare the section as {{#section projects multiple=true}}. Vapid assumes that sections with plural names are meant to be repeating.

1 Like