.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 May 27, 2022 19:44 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


Description/Summary

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

Content

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/"
Data
page.Data{} (type:page.Data)
NextPageParsing lastmod from LOGBOOK
PrevPageParsing notes from LOGBOOK
NextInSectionParsing lastmod from LOGBOOK
PrevInSectionParsing notes from LOGBOOK

Page Params (Debug)

KeyTypeValue
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.99.1 (commit d524067382e60ce2a2248c3133a1b3af206b6ef1) . This site is powered by Netlify.
[Test Site home | ox-hugo home]