.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Mar 05, 2024 19:24 UTC.


This page was created/modified in commit 9fe197e "Add org-hugo-default-draft-state defcustom" on 2018-07-09.
Markdown source of this page

HUGO_DRAFT true, DRAFT state

tags: draft todo


This is a Draft



Description/Summary

If a post has the Org TODO state set to DRAFT, the draft front matter variable should be set to true regardless of the value of EXPORT_HUGO_DRAFT property. Idea is to mark a post as DRAFT that you have already started writing, or are in the process at the moment, but it is not yet ready to be published


Content

If a post has the Org TODO state set to DRAFT, the draft front matter variable should be set to true regardless of the value of EXPORT_HUGO_DRAFT property.

Idea is to mark a post as DRAFT that you have already started writing, or are in the process at the moment, but it is not yet ready to be published


Page (Debug)

Page VariableValue
Name "HUGO_DRAFT true, DRAFT state"
Title "HUGO_DRAFT true, DRAFT state"
ResourceType "page"
Kind "page"
Section "posts"
Draft true
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/hugo-draft-true-todo-state-draft/"
RelPermalink "/posts/hugo-draft-true-todo-state-draft/"
Data
page.Data{} (type:page.Data)
NextPageHUGO_DRAFT not set, TEST__TODO state
PrevPageHUGO_DRAFT true, no TODO state
NextInSectionHUGO_DRAFT not set, TEST__TODO state
PrevInSectionHUGO_DRAFT true, no TODO state

Page Params (Debug)

KeyTypeValue
draftbool true
iscjklanguagebool false
lastmodtime.Time 2018-07-09 11:08:20 -0400 -0400
tags[]string "draft" "todo"
titlestring "HUGO_DRAFT true, DRAFT state"

File Object (Debug)

FileInfo VariableValue
UniqueID "72b0e54d1fb836cc51dfeade0e263153"
BaseFileName "hugo-draft-true-todo-state-draft"
TranslationBaseName "hugo-draft-true-todo-state-draft"
Lang "en"
Section "posts"
LogicalName "hugo-draft-true-todo-state-draft.md"
Dir "posts/"
Ext "md"
Path "posts/hugo-draft-true-todo-state-draft.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]