From 182f010c03b9c24c7f09edaacd31c0950860fac2 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo de Andrade Date: Sat, 27 Apr 2019 16:03:25 -0400 Subject: [PATCH] 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. --- archetypes/publication/index.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/archetypes/publication/index.md b/archetypes/publication/index.md index b84f3fb8..81413f56 100644 --- a/archetypes/publication/index.md +++ b/archetypes/publication/index.md @@ -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 = []