Skip to content

Looping @include #132

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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