Reverting to original configuration for Heroku. Added 404 page using layout. Removed Twitter and Facebook links from footer.