diff --git a/.gitignore b/.gitignore
index 686ceb6c6..5ba6aaa45 100644
--- a/.gitignore
+++ b/.gitignore
@@ -31,4 +31,6 @@ yarn-error.log*
app/src/nativeModulesContent.js
packages/api/src/nativeModulesContent.js
packages/api/src/packagedPluginsContent.js
-.VSCodeCounter
\ No newline at end of file
+.VSCodeCounter
+
+pacgaes/web/public/*.html
\ No newline at end of file
diff --git a/packages/web/build-index.js b/packages/web/build-index.js
new file mode 100644
index 000000000..91650e4c2
--- /dev/null
+++ b/packages/web/build-index.js
@@ -0,0 +1,8 @@
+const fs = require('fs');
+
+const template = fs.readFileSync('./index.html.tpl', 'utf-8');
+
+for (const page of ['', 'not-logged', 'error', 'admin-login', 'login', 'admin', 'license']) {
+ const text = template.replace(/{{page}}/g, page);
+ fs.writeFileSync(`public/${page || 'index'}.html`, text);
+}
diff --git a/packages/web/public/index.html b/packages/web/index.html.tpl
similarity index 97%
rename from packages/web/public/index.html
rename to packages/web/index.html.tpl
index 2830d44ad..69fb1621c 100644
--- a/packages/web/public/index.html
+++ b/packages/web/index.html.tpl
@@ -22,6 +22,11 @@
+
+
+