]> git.ipfire.org Git - people/ms/westferry.git/commitdiff
frontend: Update index.html
authorMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 May 2025 14:31:03 +0000 (14:31 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 9 May 2025 14:31:03 +0000 (14:31 +0000)
Indent using tabs (I know, in web) and show the hostname in the browser
tab.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
frontend/index.html

index 9e5fc8f06c69dd7697ad566f198ae6577fdc15b2..f57e24dacbcc91df1390ebb9005278d3c3ce3813 100644 (file)
@@ -1,13 +1,21 @@
 <!DOCTYPE html>
 <html lang="">
-  <head>
-    <meta charset="UTF-8">
-    <link rel="icon" href="/favicon.ico">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <title>Vite App</title>
-  </head>
-  <body>
-    <div id="app"></div>
-    <script type="module" src="/src/main.ts"></script>
-  </body>
+       <head>
+               <!-- We use UTF-8 -->
+               <meta charset="UTF-8">
+
+               <!-- Favicon -->
+               <link rel="icon" href="/favicon.ico">
+
+               <!-- Make the viewport responsive -->
+               <meta name="viewport" content="width=device-width, initial-scale=1.0">
+
+               <title>{{ hostname() }}</title>
+       </head>
+       <body>
+               <div id="app"></div>
+
+               <!-- Load the main script -->
+               <script type="module" src="/src/main.ts"></script>
+       </body>
 </html>