diff options
author | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-01-05 14:59:02 -0500 |
---|---|---|
committer | Ryan Schanzenbacher <ryan@rschanz.org> | 2023-01-05 15:01:29 -0500 |
commit | 042ab92fbfa06083534de08fa33e1daf98a8caec (patch) | |
tree | 5c9805032aa27a997ea42ac52e7c5d6dbbc20a6e | |
parent | 931031b46c69410e5985897b429be64dfa4f8993 (diff) |
New Year!
-rw-r--r-- | themes/hugo-coder/layouts/_default/baseof.html | 8 | ||||
-rw-r--r-- | themes/hugo-coder/layouts/partials/home.html | 2 |
2 files changed, 4 insertions, 6 deletions
diff --git a/themes/hugo-coder/layouts/_default/baseof.html b/themes/hugo-coder/layouts/_default/baseof.html index 8394257..f569146 100644 --- a/themes/hugo-coder/layouts/_default/baseof.html +++ b/themes/hugo-coder/layouts/_default/baseof.html | |||
@@ -132,10 +132,10 @@ | |||
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 | <!-- | ||
136 | <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> |
137 | --> | 136 | <!-- |
138 | <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 | --> | ||
139 | {{ partial "float" . }} | 139 | {{ partial "float" . }} |
140 | <main class="wrapper"> | 140 | <main class="wrapper"> |
141 | {{ partial "header.html" . }} | 141 | {{ partial "header.html" . }} |
@@ -184,7 +184,6 @@ | |||
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 | <!-- | ||
188 | {{ if eq .RelPermalink "/" }} | 187 | {{ if eq .RelPermalink "/" }} |
189 | <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> |
190 | <script> | 189 | <script> |
@@ -221,7 +220,7 @@ | |||
221 | f.start() | 220 | f.start() |
222 | </script> | 221 | </script> |
223 | {{ end }} | 222 | {{ end }} |
224 | --> | 223 | <!-- |
225 | <script> | 224 | <script> |
226 | function r(min, max) { | 225 | function r(min, max) { |
227 | return Math.random() * (max - min) + min; | 226 | return Math.random() * (max - min) + min; |
@@ -234,5 +233,6 @@ | |||
234 | snow.appendChild(el); | 233 | snow.appendChild(el); |
235 | } | 234 | } |
236 | </script> | 235 | </script> |
236 | --> | ||
237 | </body> | 237 | </body> |
238 | </html> | 238 | </html> |
diff --git a/themes/hugo-coder/layouts/partials/home.html b/themes/hugo-coder/layouts/partials/home.html index 81121b6..fb7a80e 100644 --- a/themes/hugo-coder/layouts/partials/home.html +++ b/themes/hugo-coder/layouts/partials/home.html | |||
@@ -14,9 +14,7 @@ | |||
14 | {{ else }} | 14 | {{ else }} |
15 | <h2>{{ .Site.Params.info }}</h2> | 15 | <h2>{{ .Site.Params.info }}</h2> |
16 | {{ end }} | 16 | {{ end }} |
17 | <!-- | ||
18 | <h2>Happy New Year!</h2> | 17 | <h2>Happy New Year!</h2> |
19 | --> | ||
20 | {{ with .Site.Params.social }} | 18 | {{ with .Site.Params.social }} |
21 | <ul> | 19 | <ul> |
22 | {{ range sort . "weight" }} | 20 | {{ range sort . "weight" }} |