As Kit can't do conditionals, I was hoping to use variables in file path to include a file. I tried:
<!-- $content: content.kit -->
<!-- @include source/shared/$content -->
or
<!-- $path: one -->
<!-- @include source/shared/$path/content.kit -->
Neither works. Perhaps there is a different syntax?
As Kit can't do conditionals, I was hoping to use variables in file path to include a file. I tried:
or
Neither works. Perhaps there is a different syntax?