Spark View Engine: How to set default master page name?
- by Dave
I use Spark View Engine with nested master pages. I have Application.spark which defines the basic layout of the website. Then there are several other masters which themselves use Application.spark as master page (Default.spark, SinlgeColumn.spark, Gallery.spark, ...)
If no master page is specified in a view file, then automatically Application.spark is choosen by the Spark View Engine. Since almost all my pages use "Default.spark" as master, is there a way to configure this globally?
The other possibilities would be:
Set the master in each spark file individually <use master="Default" />. But that's really annoying.
Rename my master files (Default.spark <- Application.spark) but that really doesn't make any sense in naming.