Fixed issue with buttons appearing on static front pages when show on home page is off