.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 e4b60d9 "fix: LOGBOOK state change derived `lastmod` -> highest precedence" on 2022-05-12.
Markdown source of this page

Parsing lastmod from LOGBOOK

tags: dates lastmod logbook


If LOGBOOK has multiple entries of "- State "DONE" from ..", use the newest entry to parse the lastmod date from.


ox-hugo Issue #203

In the case of multiple "State "DONE" from .." entries,

The lastmod field parsed from LOGBOOK transitions will have the highest precedence. So it will not be auto-set even if the :EXPORT_HUGO_AUTO_SET_LASTMOD: t property is set.

Page (Debug)

Page VariableValue
Name "Parsing lastmod from LOGBOOK"
Title "Parsing lastmod from LOGBOOK"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/parsing-lastmod-from-logbook/"
RelPermalink "/posts/parsing-lastmod-from-logbook/"
page.Data{} (type:page.Data)
NextPage.dir-locals.el test
PrevPageParsing date from LOGBOOK
NextInSectionPost marked as DONE with LOGBOOK Notes in nested headings
PrevInSectionParsing date from LOGBOOK

Page Params (Debug)

datetime.Time 2018-09-06 11:40:00 +0000 UTC
descriptionstring " If LOGBOOK has multiple entries of `\"- State \"DONE\" from ..\"`, use the\n newest entry to parse the `lastmod` date from.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-12 01:50:08 -0400 -0400
publishdatetime.Time 2018-09-06 11:40:00 +0000 UTC
tags[]string "dates" "lastmod" "logbook"
titlestring "Parsing lastmod from LOGBOOK"

File Object (Debug)

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