Splitting layout into some partials.