Fix header and footer markup