sort page links
add content for pages