Add latest post and pagination markup