Converted page header and footer partials into directives.