aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/website/lombok/website/WebsiteMaker.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/website/lombok/website/WebsiteMaker.java b/src/website/lombok/website/WebsiteMaker.java
index 10e460dd..5715086b 100644
--- a/src/website/lombok/website/WebsiteMaker.java
+++ b/src/website/lombok/website/WebsiteMaker.java
@@ -209,12 +209,7 @@ public class WebsiteMaker {
}
public void buildDownloadEdge(File out) throws Exception {
- Configuration freemarkerConfig = new Configuration(Configuration.VERSION_2_3_25);
- freemarkerConfig.setEncoding(Locale.ENGLISH, "UTF-8");
- freemarkerConfig.setOutputEncoding("UTF-8");
- freemarkerConfig.setOutputFormat(HTMLOutputFormat.INSTANCE);
- freemarkerConfig.setTemplateLoader(createLoader("extra"));
- freemarkerConfig.setTemplateExceptionHandler(TemplateExceptionHandler.RETHROW_HANDLER);
+ Configuration freemarkerConfig = makeFreemarkerConfig();
outputDir.mkdirs();
convertDownloadEdge(freemarkerConfig, out);
@@ -289,7 +284,7 @@ public class WebsiteMaker {
private void convertDownloadEdge(Configuration freemarker, File outFile) throws Exception {
Map<String, Object> dataModel = createBasicDataModel();
- Template template = freemarker.getTemplate("download-edge.html");
+ Template template = freemarker.getTemplate("_download-edge.html");
FileOutputStream fileOut = new FileOutputStream(outFile);
try {
Writer wr = new BufferedWriter(new OutputStreamWriter(fileOut, "UTF-8"));