I am new to Hugo and have used the following command to add publications as well as posts, however, I am unable to add any of them and the site does not build.
Hugo Version : Hugo Static Site Generator v0.74.2-48565DE6/extended linux/amd64 BuildDate: 2020-07-17T17:32:27Z
Commands I am using : hugo new --kind post post/my-article-name hugo new publication/my-paper-name.md
Both of them generated same issue that is site wasn’t building.
Any help would be appreciated.
this is the screenshot of the error I am facing. I am unable to understand why it happens. If i delete the post or publication .md file, the site builds again. I think it is not getting the path of the template but I am unable to understand why
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.
We discourage reviving old topics because people who participated in those discussions of yesteryear are usually not here anymore and they rarely reply to questions. It is best to open a new topic rather than bumping an old one.