diff --git a/_layouts/page.html b/_layouts/page.html index 0b03dbf..7d619c0 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -7,5 +7,6 @@ {% include nav.html %} {{ content }} {% include footer.html %} + <script src="{{ site.assets_url }}javascript/nojs.js"></script> </body> </html> diff --git a/assets/javascript/nojs.js b/assets/javascript/nojs.js new file mode 100644 index 0000000..06a3c73 --- /dev/null +++ b/assets/javascript/nojs.js @@ -0,0 +1,3 @@ +document.querySelectorAll('nojs').forEach((nojs) => { + nojs.style.display = "none" +}); \ No newline at end of file