Skip to content

Commit 8bf2a18

Browse files
authored
Merge pull request #68 from karthik2804/remove_live_js_script
remove live.js dependency
2 parents d83e61d + 86efa6d commit 8bf2a18

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

templates/content_top.hbs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,9 @@
6666
crossorigin="anonymous" referrerpolicy="no-referrer" />
6767
<link rel="preconnect" href="https://fonts.googleapis.com">
6868
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
69-
<link href="https://fonts.googleapis.com/css2?family=Azeret+Mono:ital,wght@0,100..900;1,100..900&family=Funnel+Sans&display=swap" rel="stylesheet">
69+
<link
70+
href="https://fonts.googleapis.com/css2?family=Azeret+Mono:ital,wght@0,100..900;1,100..900&family=Funnel+Sans&display=swap"
71+
rel="stylesheet">
7072
<link rel="stylesheet" href="{{site.info.base_url}}/static/css/styles.css" />
7173

7274
<script>
@@ -113,15 +115,6 @@
113115
document.documentElement.classList.toggle('dark-theme', mode === "dark");
114116
}
115117
</script>
116-
<script>
117-
// Automatically pick up file changes and show them in the browser without manually refreshing, when the host is localhost/127.0.0.1.
118-
var script = document.createElement("script");
119-
if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
120-
script.src = "https://livejs.com/live.js";
121-
}
122-
document.head.appendChild(script);
123-
</script>
124-
125118
</head>
126119

127120
<body class="documentation">

0 commit comments

Comments
 (0)