summaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorpommicket <pommicket@gmail.com>2024-08-15 21:03:12 -0400
committerpommicket <pommicket@gmail.com>2024-08-15 21:03:12 -0400
commit5a3a0bb35e55294ab84fd8b759c637a0f1aeea82 (patch)
tree6ea69f312201defec726cb4c11fb6e2e88496729 /index.html
parentb0925d8b148b5ca2ed82e1b6aad7028fb451e8df (diff)
favicon
Diffstat (limited to 'index.html')
-rw-r--r--index.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/index.html b/index.html
index 04ad189..1a0af50 100644
--- a/index.html
+++ b/index.html
@@ -2,12 +2,19 @@
<html lang="en">
<head>
+ <script>
+ if(location.protocol.startsWith('http') &&
+ !location.pathname.endsWith('/') &&
+ !location.pathname.endsWith('.html')) {
+ location.pathname += '/index.html';
+}
+ </script>
<title>jigsaw</title>
<meta charset="utf-8">
<meta content="width=device-width,initial-scale=1" name="viewport">
- <link rel="icon" href="favicon.ico">
+ <link rel="icon" href="favicon.png">
<link rel="stylesheet" href="style.css">
- <script src="index.js"></script>
+ <script src="index.js?v=3"></script>
</head>
<body class="margined">
<h3>jigsaw</h3>