mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-12 22:14:08 +00:00
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:
1 parent
925d781bb0
commit
182f010c03
1 file changed
+5
@@ -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 = []
|
||||
|
||||
|
||||
Reference in new issue
Block a user