.Kind (page): .Type (posts) / .Layout (alternate-single)
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 Oct 05, 2024 21:20 UTC.


This page was created/modified in commit 5ba0248 "feat: Use the latest LOGBOOK note timestamp to update lastmod" on 2022-05-12.
Markdown source of this page
This is alternate-single layout from _default.
<2022-05-12>
Another update to the post. This update timestamp should update the lastmod.
<2022-05-04>
This new note added last should be the first element of the [[logbook.notes]] TOML table array.
<2022-04-08>
This note addition prompt shows up on typing the C-c C-z binding. See Org Info: Drawers.
<2018-09-06>
Another note bold italics.
<2018-09-06>
A note mono.

ox-hugo Issue #203

For example,

:LOGBOOK:
- Note taken on [2018-09-06 Thu 11:45] \\
  Another note.
- Note taken on [2018-09-06 Thu 11:37] \\
  A note
- State "DONE"       from "DRAFT"      [2018-09-06 Thu 11:25]
- State "DRAFT"      from "TODO"       [2018-09-06 Thu 11:25]
- State "TODO"       from              [2018-09-06 Thu 11:25]
:END:

should export only the notes to an array of TOML tables with key logbook.<..>.notes. The notes are ordered starting from the newest note first in the TOML table array to the oldest note at the last.

Note
The state change notes are intentionally put in this test LOGBOOK, because we want to ensure that they don’t seep into the logbook.<..>.notes front-matter.

Page (Debug)

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

Page Params (Debug)

KeyTypeValue
datetime.Time 2018-09-06 11:25:00 +0000 UTC
descriptionstring " Parse notes from LOGBOOK into a TOML table (YAML map?) of\n `logbook.notes` front-matter.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-12 08:41:06 -0400 -0400
layoutstring "alternate-single"
logbookmaps.Params
KeyTypeValue
_toplevelmaps.Params
KeyTypeValue
notes[]interface {}
KeyTypeValue
notestring " Another update to the post. This update timestamp should update the\n `lastmod`.\n "
timestamptime.Time 2022-05-12 08:13:00 +0000 UTC
KeyTypeValue
notestring " This new note added last should be the first element of the\n `[[logbook.notes]]` TOML table array.\n "
timestamptime.Time 2022-05-04 13:15:00 +0000 UTC
KeyTypeValue
notestring " This note addition prompt shows up on typing the `C-c C-z` binding.\n See [Org Info: Drawers](https://orgmode.org/manual/Drawers.html \"Emacs Lisp: (info \\\"(org) Drawers\\\")\").\n "
timestamptime.Time 2022-04-08 14:53:00 +0000 UTC
KeyTypeValue
notestring "Another note **bold** _italics_."
timestamptime.Time 2018-09-06 11:45:00 +0000 UTC
KeyTypeValue
notestring "A note `mono`."
timestamptime.Time 2018-09-06 11:37:00 +0000 UTC
publishdatetime.Time 2018-09-06 11:25:00 +0000 UTC
tags[]string "front-matter" "notes" "logbook"
titlestring "Parsing notes from LOGBOOK"

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]