Adding previous/next links inside post templates