@@ -0,0 +1,1037 @@
+package test.site.kason.tempera.profile;%0A%0Aimport java.io.IOException;%0Aimport java.io.StringWriter;%0Aimport java.util.Arrays;%0Aimport java.util.Collections;%0Aimport java.util.List;%0Aimport site.kason.tempera.engine.Configuration;%0Aimport site.kason.tempera.engine.Engine;%0Aimport site.kason.tempera.engine.Template;%0Aimport site.kason.tempera.loader.ClasspathTemplateLoader;%0A%0A/**%0A *%0A * @author Kason Yang%0A */%0Apublic class Main %7B%0A%0A    public static void main(String%5B%5D args) throws IOException %7B%0A        String%5B%5D names = new String%5B%5D%7B%22A%22, %22B%22, %22C%22%7D;%0A        List%3CString%3E list = Arrays.asList(names);%0A        ClasspathTemplateLoader templateLoader = new ClasspathTemplateLoader(new String%5B%5D%7B%22.tplx%22%7D);%0A        templateLoader.setPath(%22/templates/%22);%0A        Configuration conf = new Configuration(Configuration.DEFAULT);%0A        conf.setTemplateLoader(templateLoader);%0A        Engine engine = new Engine(conf);%0A        Template tpl = engine.compile(%22/main%22);%0A        tpl.render(Collections.singletonMap(%22names%22, list), new StringWriter());%0A    %7D%0A%0A%7D%0A

add Main class for profile