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:
parent
30a7266343
commit
8ff8e97da5
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user