update for hugo 0.24

From Hugo 0.24 this must be provided in the archetype file itself, if needed. Example:
---
title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }}
draft: true
---
This commit is contained in:
steveoh 2017-06-29 11:01:47 -06:00 committed by GitHub
parent 30a7266343
commit 8ff8e97da5

View File

@ -1,9 +1,8 @@
+++ +++
# default attributes for an incident. # default attributes for an incident.
# #
# Hugo adds `title` and `date` by default title = "{{ replace .TranslationBaseName "-" " " | title }}"
# when running `hugo new incidents/new-incident.md`, date = {{ .Date }}
# so we don't have to specify them here.
# severity: represents the impact of # severity: represents the impact of
# your system due to the current incident. # your system due to the current incident.