Fixed page list function on front page.