Add next/prev links to post template