Separate application layout into partials