allow templating of headers & footers
Merge pull request #9 from greenriver/master

Allow templating in headers and footers