Adding support for processing banner and footer as a template, to match the docs.