We're currently in a situation where we need to have multiple Master.html files so we've made an administration tool to chose which we should use. This is how we include them:
<!--@If(Namespace:MasterTemplate=1)--> <!--@Include(Master_1.html)--> <!--@EndIf--> <!--@If(Namespace:MasterTemplate=2)--> <!--@Include(Master_2.html)--> <!--@EndIf-->
For me it seems like the include is run before the conditional loop evaluates true. Should we find an alternative solution or is there any sort of hope that this will be solved in the near future? :-)
Thanks! :-)