.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Jan 20, 2022 13:08 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

Parsing date from CLOSED property

tags: post-heading-followed-soon-with-subheading


Description/Summary

The “CLOSED” state of this heading (which is nil) should be ignored When an Org TODO item is switched to the DONE state, a CLOSED property is auto-inserted (default behavior). If such a property is non-nil, the value (time-stamp) of that is used to set the date field in the exported front-matter. Reference: (org) Special properties or C-h i g (org) Special properties


Content

The “CLOSED” state of this heading (which is nil) should be ignored

When an Org TODO item is switched to the DONE state, a CLOSED property is auto-inserted (default behavior).

If such a property is non-nil, the value (time-stamp) of that is used to set the date field in the exported front-matter.


Page (Debug)

Page VariableValue
Name "Parsing date from CLOSED property"
Title "Parsing date from CLOSED property"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/parsing-date-from-closed-property/"
RelPermalink "/posts/parsing-date-from-closed-property/"
Data
page.Data{} (type:page.Data)
NextPageJust date
PrevPageAuto-set Lastmod
NextInSectionJust date
PrevInSectionAuto-set Lastmod

Page Params (Debug)

maps.Params{"date":time.Date(2017, time.September, 11, 14, 32, 0, 0, time.UTC), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "publishdate":time.Date(2017, time.September, 11, 14, 32, 0, 0, time.UTC), "tags":[]string{"post-heading-followed-soon-with-subheading"}, "title":"Parsing date from CLOSED property"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "72de902df4db46baba621d1293cfb080"
BaseFileName "parsing-date-from-closed-property"
TranslationBaseName "parsing-date-from-closed-property"
Lang "en"
Section "posts"
LogicalName "parsing-date-from-closed-property.md"
Dir "posts/"
Ext "md"
Path "posts/parsing-date-from-closed-property.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]