added support for footer in body markup