Refactors base layout in order to support site subtitle