Publish date set using SCHEDULED
tags: dates publishdate scheduled
Description/Summary
If a subtree has the SCHEDULED Special Property set, set the publishdate front-matter to the scheduled date. By default, C-c C-s in Org adds the SCHEDULED property to the current subtree.
Content
If a subtree has the SCHEDULED Special Property set, set the
publishdate front-matter to the scheduled date.
By default, C-c C-s in Org adds the SCHEDULED property to the
current subtree.
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Publish date set using SCHEDULED" | |
| Title | "Publish date set using SCHEDULED" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/publish-date-scheduled/" | |
| RelPermalink | "/posts/publish-date-scheduled/" | |
| Data |
| |
| NextPage | Date with time and time-zone (default) | |
| PrevPage | Parsing date from CLOSED property | |
| NextInSection | Date with time and time-zone (default) | |
| PrevInSection | Parsing date from CLOSED property |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| date | time.Time | 2018-01-26 00:00:00 +0000 UTC |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2018-01-26 15:09:00 -0500 -0500 |
| publishdate | time.Time | 2018-01-26 00:00:00 +0000 UTC |
| tags | []string | "dates" "publishdate" "scheduled" |
| title | string | "Publish date set using SCHEDULED" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "f8aac47a8fd5e0dc48cbfd49b8592b4c" |
| BaseFileName | "publish-date-scheduled" |
| TranslationBaseName | "publish-date-scheduled" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "publish-date-scheduled.md" |
| Dir | "posts/" |
| Ext | "md" |
| Path | "posts/publish-date-scheduled.md" |