For creating a new project use this command
hugo new portfolio/new-project.md .
Just like blog posts here you can also find the front matter. For creating a project item you need to declare the
draft = false.
You will see some other field for project, change this content with your content.