.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 Apr 20, 2023 15:14 UTC.

This page was created/modified in commit 00a58ae "feat: Parse `date` and `lastmod` fm from LOGBOOK state changes" on 2022-05-12.
Markdown source of this page

Parsing date from LOGBOOK

tags: dates date logbook


Parse the date from an entry like "- State "DONE" from "DRAFT" [2018-09-06 Thu 11:25].


ox-hugo Issue #203

In the case of multiple "State "DONE" from .." entries, use the oldest entry to set the date.

Page (Debug)

Page VariableValue
Name "Parsing date from LOGBOOK"
Title "Parsing date from LOGBOOK"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/parsing-date-from-logbook/"
RelPermalink "/posts/parsing-date-from-logbook/"
page.Data{} (type:page.Data)
NextPageParsing lastmod from LOGBOOK
PrevPageParsing notes from LOGBOOK
NextInSectionParsing lastmod from LOGBOOK
PrevInSectionParsing notes from LOGBOOK

Page Params (Debug)

datetime.Time 2018-09-06 11:38:00 +0000 UTC
descriptionstring " Parse the date from an entry like `\"- State \"DONE\" from \"DRAFT\"\n [2018-09-06 Thu 11:25]`.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-12 00:48:10 -0400 -0400
publishdatetime.Time 2018-09-06 11:38:00 +0000 UTC
tags[]string "dates" "date" "logbook"
titlestring "Parsing date from LOGBOOK"

File Object (Debug)

FileInfo VariableValue
UniqueID "d344103ce4c20a1422345196431d59ef"
BaseFileName "parsing-date-from-logbook"
TranslationBaseName "parsing-date-from-logbook"
Lang "en"
Section "posts"
LogicalName "parsing-date-from-logbook.md"
Dir "posts/"
Ext "md"
Path "posts/parsing-date-from-logbook.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]