if (darkPages.some(slug => window.location.pathname.includes(slug))) { document.body.classList.add('dark-theme'); } });