Add function to view static pages