summaryrefslogtreecommitdiffstats
path: root/content/index.js
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-01-24 17:55:58 +0100
committerVolpeon <git@volpeon.ink>2021-01-24 17:55:58 +0100
commitcd0229805c4a2913986b3672dd091dd3daba53a5 (patch)
tree7c67121197340c5741b99a0aefe2bccce72bedd1 /content/index.js
parentReplace blogs with notebooks (i.e. no dates, grouped by category) (diff)
downloadvolpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.tar.gz
volpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.tar.bz2
volpeon.ink-cd0229805c4a2913986b3672dd091dd3daba53a5.zip
Various small fixes
Diffstat (limited to 'content/index.js')
-rw-r--r--content/index.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/content/index.js b/content/index.js
new file mode 100644
index 0000000..8a24e3a
--- /dev/null
+++ b/content/index.js
@@ -0,0 +1,6 @@
1var headerEl = document.querySelector(".c-hero");
2var headerTemplateEl = document.getElementById("header-sm");
3var headerSmEl = headerTemplateEl.content.cloneNode("true");
4
5headerEl.classList.remove("u-hidden@sm-down");
6headerEl.appendChild(headerSmEl);