Documents posted on GitHub looks different from rendered by Hugo

Still no solution, documents posted on GitHub looks different from rendered by Hugo (
As example, I have

  • content\posts
    • article.md - main article
    • article.files\ - folder with images

Hugo fails this scheme because creates two different folders in public\posts (one for content and one for content). Obsidian, GitHub, VSCode and others shows fine this MD. If I rename article.files folder into just article, Hugo still can’t show images because link looks like article/article/image.png instead of article/image.png or even just image.png as he puts index.html to folder with content

I have read your post several times, and I do not understand the problem.

See https://discourse.gohugo.io/t/requesting-help/9132.

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.