public DefaultPageBuilder() { SparkSettings settings = new SparkSettings(); //settings.SetStatementMarker("#*"); //settings.StatementMarker = "#*"; settings.SetPrefix("s"); settings.SetPageBaseType(typeof(TemplateBase)); _engine = new SparkViewEngine(settings); //var sm = _engine.Settings.StatementMarker; var templateDirPath = Path.GetFullPath("./Veis/Views/"); var viewFolder = new FileSystemViewFolder(templateDirPath); _engine.ViewFolder = viewFolder.Append(new SubViewFolder(viewFolder, "Shared")); //var viewFolder = new FileSystemViewFolder(templateDirPath); //// Create an engine using the templates path as the root location //// as well as the shared location //var engine = new SparkViewEngine //{ // DefaultPageBaseType = typeof(SparkView).FullName, // ViewFolder = viewFolder.Append(new SubViewFolder(viewFolder, "Shared")) //}; }