diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-02-09 20:28:43 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-02-09 20:29:43 -0500 |
commit | 728a456cf7a5c0858c15de1d69851753ee640106 (patch) | |
tree | d91add5c656838b7d30e7096de35bb221308c08a | |
parent | 305dbf7f633cf028c78285125171b6284e51348e (diff) |
Remove Fireworks
-rw-r--r-- | themes/hugo-coder/layouts/_default/baseof.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/hugo-coder/layouts/_default/baseof.html b/themes/hugo-coder/layouts/_default/baseof.html index 414e3bf..55adb94 100644 --- a/themes/hugo-coder/layouts/_default/baseof.html +++ b/themes/hugo-coder/layouts/_default/baseof.html | |||
@@ -132,7 +132,7 @@ | |||
132 | <body class="preload-transitions {{ $csClass }}{{ if .Site.Params.rtl }} rtl{{ end }}" | 132 | <body class="preload-transitions {{ $csClass }}{{ if .Site.Params.rtl }} rtl{{ end }}" |
133 | onload="{{ if .Site.Params.enableTwemoji }} twemoji.parse(document.body); {{ end }}" | 133 | onload="{{ if .Site.Params.enableTwemoji }} twemoji.parse(document.body); {{ end }}" |
134 | > | 134 | > |
135 | <div id=fireworksContainer style="position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;"></div> | 135 | <!-- <div id=fireworksContainer style="position: fixed; left: 0; top: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;"></div> --> |
136 | <!-- | 136 | <!-- |
137 | <div id="snow" style="position: absolute; top: 0; left: 0; height: 100vh; width: 100vw; --s: 10s; --w: 50vw; --d: 0s;"></div> | 137 | <div id="snow" style="position: absolute; top: 0; left: 0; height: 100vh; width: 100vw; --s: 10s; --w: 50vw; --d: 0s;"></div> |
138 | --> | 138 | --> |
@@ -184,7 +184,7 @@ | |||
184 | {{ if and .Site.Params.googleTagManager .Site.Params.googleTagManager.id }} | 184 | {{ if and .Site.Params.googleTagManager .Site.Params.googleTagManager.id }} |
185 | {{- partial "analytics/googletagmanager" . -}} | 185 | {{- partial "analytics/googletagmanager" . -}} |
186 | {{ end }} | 186 | {{ end }} |
187 | {{ if eq .RelPermalink "/" }} | 187 | <!-- {{ if eq .RelPermalink "/" }} |
188 | <script src="https://cdn.jsdelivr.net/npm/fireworks-js@latest/dist/fireworks.js"></script> | 188 | <script src="https://cdn.jsdelivr.net/npm/fireworks-js@latest/dist/fireworks.js"></script> |
189 | <script> | 189 | <script> |
190 | const c = document.querySelector("#fireworksContainer") | 190 | const c = document.querySelector("#fireworksContainer") |
@@ -219,7 +219,7 @@ | |||
219 | f._randomRocketsPoint = true | 219 | f._randomRocketsPoint = true |
220 | f.start() | 220 | f.start() |
221 | </script> | 221 | </script> |
222 | {{ end }} | 222 | {{ end }} --> |
223 | <!-- | 223 | <!-- |
224 | <script> | 224 | <script> |
225 | function r(min, max) { | 225 | function r(min, max) { |