add prev/next and header in pages
set prev/next links for posts