diff options
| author | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-10-05 14:07:23 +0530 |
|---|---|---|
| committer | Aditya Telange <21258296+adityatelange@users.noreply.github.com> | 2020-10-05 14:07:23 +0530 |
| commit | 994c0b56e198f48c20f7780d4e6e52adf4baa153 (patch) | |
| tree | 529a98b9bb959dfb472f8cd19cdc17a121c7a498 /layouts/partials/header.html | |
| parent | c2c32282c157ad513ea2ad01878901542e3c9ac4 (diff) | |
noscript: add noscript tags
* hide theme-toggle and
* go-to-top button
when js is disabled
Diffstat (limited to 'layouts/partials/header.html')
| -rw-r--r-- | layouts/partials/header.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fce0b61..f67f33b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -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"> |
