A simple clone of Dan Edens' blog with the day/night persistent toggle ❤️
<script>
// Toggle night theme
var d = document.documentElement,
t = document.querySelectorAll(".js--toggle-lights")[0],
m = localStorage.getItem("nightmode");
if(m == "true") {