profile: move stuff from profile.mustache to layout.mustache