noscript: add noscript tags

* hide theme-toggle and
    * go-to-top button
    when js is disabled
This commit is contained in:
Aditya Telange 2020-10-05 14:07:23 +05:30
parent c2c32282c1
commit 994c0b56e1
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -12,6 +12,14 @@
}
</script>
{{- end }}
<noscript>
<style type="text/css">
.theme-toggle,
.top-link {
display: none;
}
</style>
</noscript>
<header class="header">
<nav class="nav">
<p class="logo">