Basically the workflow mentioned is making a repository related to the new blog(this is also how I want to manage my projects) as a complete hugo site and then I am writing the files(using hugo -d …/username.github.io).
But the issue I am facing is, whenever I am adding a new blog, the previous blog entries are not getting shown in the index.html file.
How can I fix this with effective blog handling?
The above is your repo with the source code of your Hugo site. It has one content file in it. Everything you want to publish goes here under /content/.
And the repo below that is connected to your Github Pages contains your generated site.
Not sure what you’re trying to do with 2 different repos.
It would be really helpful if you see the video I shared from which I followed the workflow.
I thought I can somehow every time write my files into username.github.io from any repo( i did with my test-blog repo on my github)
I think I have somehow managed the answer, I just need to write a new mardown file in /content/post/ ?