enh: add a message for users with Javascript disabled

Currently, the user sees a blank page if they have
Javascript disabled with no indication as to why.

This commit adds a noscript message so users know
they have to enable Javascript to use Wiki.js

Signed-off-by: Gary Kim <gary@garykim.dev>
pull/2214/head
Gary Kim 4 years ago
parent 9b59614f5f
commit ce0993027d
No known key found for this signature in database
GPG Key ID: 9349B59FB54594AC

@ -92,6 +92,7 @@ html(lang=siteConfig.lang)
block head
body
noscript='Wiki.js requires Javascript to use. Please enable Javascript and reload the page'
!= analyticsCode.bodyStart
block body
!= analyticsCode.bodyEnd

Loading…
Cancel
Save