split out base html