allow templating of headers & footers