Added excerpts for pages function