public static String viewExtension = ".html";
public static GroupTemplate gt = null;
public BeetlRenderFactory(boolean isLocal) {
File file = new File(PathKit.getWebRootPath() + Const.BEETL_ROOT_DIR);
gt = new GroupTemplate(file);
if (isLocal){
gt.enableChecker(2);
} else {
gt.enableChecker(0);
}