Refactor out secondary header and place in template