I am not receiving that error, so you might want to show your project’s code, as suggested: Requesting Help
If you want to know how the current template came about, there is https://github.com/gohugoio/hugo/issues/3576.
If you want to suggest making changes, I recommend you wait here for a reply or start an issue with your proposals.
If you want to figure out the issue you are having with that partial, share your code and all the facts of your environment.