If you are using the Visual Studio Code editor , you will find a nice Extension named jekyll-post , That extension makes it easier to create new blog posts for Jekyll-based websites. and we can modify it to make it work for Hugo too.
The first step is finding the installation directory
and then you can modify the Jekyll-template into a hugo-template
It will help me automatically add behavior to each template element.
For example, I don’t need to “fill in the post time” or “sets up the file name” anymore.