move header code to partial