moved header out of pattern.html to avoid it being inside a template