Skip to content

Commit

Permalink
show page contents if page loaded with js disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
passw0rd123 committed Jun 24, 2024
1 parent efd3807 commit 97b1b6f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
{{ partial "meta.html" . }}
<title>{{ block "title" . }}{{ .Site.Title }}{{ end }}</title>
{{ partial "css.html" . }}
<noscript>
<style>
#preloader { display: none; }/* show page contents if page loaded with js disabled */
</style>
</noscript>
</head>
<body>
{{ if ne .Site.Params.preloader false }}
Expand Down

0 comments on commit 97b1b6f

Please sign in to comment.