netlify/netlify-statuskit

Missing title and date in new incident

Closed this issue ยท 0 comments

- Do you want to request a feature or report a bug?
๐Ÿ›

- What is the current behavior?

hugo -s site new -k incidents incidents/oh-no-something-went-wrong.md
hugo new incidents/test.md

Does not add title and date front matter like the incidents.md file states.

hugo new test.md

does create the front matter.

I can't find a bug in the hugo issue tracker.

That results in the following image

image

- If the current behavior is a bug, please provide the steps to reproduce.

  1. Create site and create a new incident.
  2. Look at the new file
  3. Realize no title and date are present

image

- What is the expected behavior?
The date and title should be generated from the command or the command needs to be updated to tell users how to have those items generated.

- Please mention your node.js, and operating system version.

$ hugo version
Hugo Static Site Generator v0.24.1 darwin/amd64 BuildDate: 2017-06-29T09:40:24-06:00

$ node -v
v6.11.0