Corrected layout.html for offline use.