Extract header to partial