<script> //<![CDATA[ var currentTime = new Date().getHours(); if (6 <= currentTime&¤tTime < 17) { $('html').removeClass('is-dark'); } else { $('html').addClass('is-dark'); } ; //]]> </script>