add {{tripIndex}} and {{tripTotal}} to header & content