aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/support/lombok/website/RunSite.java6
-rw-r--r--website/extra/htaccess4
-rw-r--r--website/resources/js/main.js2
-rw-r--r--website/templates/index.html (renamed from website/templates/main.html)0
-rw-r--r--website/templates/setup/index.html (renamed from website/templates/setup/main.html)0
5 files changed, 6 insertions, 6 deletions
diff --git a/src/support/lombok/website/RunSite.java b/src/support/lombok/website/RunSite.java
index 17e158c0..1df89bdb 100644
--- a/src/support/lombok/website/RunSite.java
+++ b/src/support/lombok/website/RunSite.java
@@ -29,9 +29,9 @@ public class RunSite {
private void go(boolean open) throws Exception {
port(DEFAULT_PORT);
- get("/", serve("main.html"));
- get("/setup/overview", serve("setup/main.html"));
- get("/setup", serve("setup/main.html"));
+ get("/", serve("index.html"));
+ get("/setup/overview", serve("setup/index.html"));
+ get("/setup", serve("setup/index.html"));
get("/features", serve("features/index.html"));
get("/features/all", serve("features/index.html"));
get("/features/experimental/all", serve("features/experimental/index.html"));
diff --git a/website/extra/htaccess b/website/extra/htaccess
index 3539950f..2a17dd17 100644
--- a/website/extra/htaccess
+++ b/website/extra/htaccess
@@ -1,9 +1,9 @@
RewriteEngine On
-RewriteRule ^$ /main.html [L,END]
+RewriteRule ^$ /index.html [L,END]
RewriteRule ^(index|home)(\.html)?$ / [NC,R=301]
-RewriteRule ^setup/overview$ /setup/main.html [L,END]
+RewriteRule ^setup/overview$ /setup/index.html [L,END]
RewriteRule ^setup/overview(\.html)?/?$ /setup/overview [NC,R=301]
RewriteRule ^setup/main(\.html)?/?$ /setup/overview [NC,R=301]
RewriteRule ^setup/index(\.html)?/?$ /setup/overview [NC,R=301]
diff --git a/website/resources/js/main.js b/website/resources/js/main.js
index 3d18b996..fe90a086 100644
--- a/website/resources/js/main.js
+++ b/website/resources/js/main.js
@@ -64,7 +64,7 @@
$(window).on("statechange", function() {
var hs = History.getState();
var u = hs.data.urlPath;
- if (u === "/" || u === "") u = "/main.html";
+ if (u === "/" || u === "") u = "/index.html";
if (u.substring(u.length - 5) !== ".html") u += ".html";
if (u.substring(u.length - 8) === "all.html") u = u.substring(0, u.length - 8) + "index.html";
var key = toKey(u);
diff --git a/website/templates/main.html b/website/templates/index.html
index bb868517..bb868517 100644
--- a/website/templates/main.html
+++ b/website/templates/index.html
diff --git a/website/templates/setup/main.html b/website/templates/setup/index.html
index 8c874a55..8c874a55 100644
--- a/website/templates/setup/main.html
+++ b/website/templates/setup/index.html