change the way partials are registered to include their directory as a namespace