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
1 changed files with 2 additions and 3 deletions

View File

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