Why are there two duplicate project names when accessing posts?

  • Version: hugo v0.93.2-643B5AE9+extended windows/amd64 BuildDate=2022-03-

  • Problems: there are two duplicate project names when accessing posts. Such as
    my blog is https://xxxx.github.io/blog/, and my posts is https://xxx.github.io/blog/blog/posts/.

I’m guessing a little, since I don’t have access to the source, but I suspect you have configured baseURL= https://xxxx.github.io/blog/ and then have a content folder starting with /content/blog/....

With the above you have 2 options:

  1. Make baseURL= https://xxxx.github.io/
  2. Move the blog content one level up.