Separate layout into partials