Added support for external includes for header and footer in static pages.