feat: add publishDate to publish future publications now (#1025)

Similar to the talk template.

When `publishDate` is used in conjunction with `date`, it enables publishing future publications now.

See Hugo docs.
This commit is contained in:
Carlos Eduardo de Andrade authored and gcushen committed 2019-04-27 21:03:25 +01:00
1 parent 925d781bb0
commit 182f010c03
1 file changed
+5
+5
View File
@@ -1,7 +1,12 @@
+++
title = "{{ replace .Name "-" " " | title }}"
# Publication date.
date = {{ .Date }}
# Schedule page publish date.
publishDate = {{ .Date }}
# Authors. Comma separated list, e.g. `["Bob Smith", "David Jones"]`.
authors = []