Extracts headers to global header layout.
Fixes incorrect home url in header bar.