Possible to use #include inside #if?
Would like to create a set of conditional statements where certain files are included if the statements are true:
<#if $somevalue == true>
<!-- myfile -->
<#inclulde "myfile.html">
<#else>
<!-- default -->
<#include "anotherfile.html">
</#if>
I'm seeing the commented HTML <!-- myfile --> but the include statement isn't returning the file. Any suggestions?
Thanks,
Patrick
0