move footer into sub template