aboutsummaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
Diffstat (limited to 'website')
-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
4 files changed, 3 insertions, 3 deletions
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