Revert "allow templating of headers & footers"

This reverts commit a74dc52c798d0b4fab4271285c71706d97ea3728.