mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-10-01 01:06:14 -04:00
noscript: add noscript tags
* hide theme-toggle and * go-to-top button when js is disabled
This commit is contained in:
parent
c2c32282c1
commit
994c0b56e1
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user