mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-14 07:04:25 -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
1 changed files with 8 additions and 0 deletions
|
@ -12,6 +12,14 @@
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
<noscript>
|
||||||
|
<style type="text/css">
|
||||||
|
.theme-toggle,
|
||||||
|
.top-link {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</noscript>
|
||||||
<header class="header">
|
<header class="header">
|
||||||
<nav class="nav">
|
<nav class="nav">
|
||||||
<p class="logo">
|
<p class="logo">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue