mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-17 22:34:45 -04:00
Mention date var complementation in post scheduling (#1396)
* Mention date var complementation in post scheduling * Change footnote from inline to reference style
This commit is contained in:
parent
17fae284c1
commit
f4c4153dcb
@ -27,7 +27,7 @@ Yes you can! See [Configure with Environment Variables](/getting-started/configu
|
||||
|
||||
## How do I schedule posts?
|
||||
|
||||
1. Set `publishDate` in the page [Front Matter](/content-management/front-matter/) to a date in the future.
|
||||
1. Set `publishDate` in the page [Front Matter](/content-management/front-matter/) to a datetime in the future. If you want the creation and publication datetime to be the same, it's also sufficient to only set `date`[^date-hierarchy].
|
||||
2. Build and publish at intervals.
|
||||
|
||||
How to automate the "publish at intervals" part depends on your situation:
|
||||
@ -39,6 +39,8 @@ Also see this Twitter thread:
|
||||
|
||||
{{< tweet 962380712027590657 >}}
|
||||
|
||||
[^date-hierarchy]: See [Configure Dates](https://gohugo.io/getting-started/configuration/#configure-dates) for the order in which the different date variables are complemented by each other when not explicitly set.
|
||||
|
||||
## Can I use the latest Hugo version on Netlify?
|
||||
|
||||
Yes you can! Read [this](/hosting-and-deployment/hosting-on-netlify/#configure-hugo-version-in-netlify).
|
||||
|
Loading…
x
Reference in New Issue
Block a user