Add partials and edit sidebar