Created a base view for generic pages and extended it for homepage.