When I set the Baseurl to "/", the name of the blog will link to the original page and will not go to the root directory of the blog

Neither "/" nor "" is a valid baseURL value.

See https://gohugo.io/getting-started/configuration/#baseurl

If you need additional assistance, please share a link to the public repository for your project’s source files. See Requesting Help.

Let us see your code

Include a link to the source code repository of your project, because we really need the context of seeing your templates and partials to be able to help you. It is trivial to do a quick git clone on your repo, then run hugo server in your project, to help you out. On the other hand, recreating your code from screenshots, or sort of guessing at it, is not.

If you can’t share your repository for whatever reason, consider creating a dummy repo that you can share, which reproduces the problem you’re experiencing.

1 Like