Draft state with other headings
tags: draft post-heading-followed-soon-with-subheading
This is a Draft
Description/Summary
The “TODO” state of this heading (which is nil) should be ignored # If a post has the DRAFT state set, the draft front matter variable should be set to true, even if the post has a sub-heading immediately after the post heading.
Content
The “TODO” state of this heading (which is nil) should be ignored #
If a post has the DRAFT state set, the draft front matter variable
should be set to true, even if the post has a sub-heading
immediately after the post heading.
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| Name | "Draft state with other headings" | |
| Title | "Draft state with other headings" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | true | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/draft-state-other-headings-draft/" | |
| RelPermalink | "/posts/draft-state-other-headings-draft/" | |
| Data |
| |
| NextPage | Post heading with crazy characters | |
| PrevPage | ||
| NextInSection | Post heading with crazy characters | |
| PrevInSection |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| date | time.Time | 2017-07-12 13:46:16 -0400 -0400 |
| draft | bool | true |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-01-03 14:27:58 -0500 -0500 |
| publishdate | time.Time | 2017-07-12 13:46:16 -0400 -0400 |
| tags | []string | "draft" "post-heading-followed-soon-with-subheading" |
| title | string | "Draft state with other headings" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| UniqueID | "433a9db2f2b3bff475e351fe2ab514cb" |
| BaseFileName | "draft-state-other-headings-draft" |
| TranslationBaseName | "draft-state-other-headings-draft" |
| Lang | "en" |
| Section | "posts" |
| LogicalName | "draft-state-other-headings-draft.md" |
| Dir | "posts/" |
| Ext | "md" |
| Path | "posts/draft-state-other-headings-draft.md" |