Skip to content

Looping @include #132

@murger

Description

@murger

Is it possible to include files through variables? As in:

<!-- @foreach $NAME in FILES -->
  <template id="t-<!-- @echo $NAME -->">
    <!-- @include $NAME -->
  </template>
<!-- @endfor -->

FILES be like -> [ 'account.html', 'assets.html', 'basket.html']

Would be appreciated very much, if this functionality could be added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions