From 9faede005306762d05ea93b7aef8639331143408 Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Sun, 16 Jan 2022 18:07:51 +0100 Subject: [PATCH] [POST/UPDATE] Improving my new blog post creation Added another link to ox-hugo docs --- content-org/blog.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content-org/blog.org b/content-org/blog.org index bf24bad..72c6419 100644 --- a/content-org/blog.org +++ b/content-org/blog.org @@ -51,7 +51,7 @@ That's it! So I could fulfill both my wishes that I wrote at the start of the b ** Update 2022-01-16 -After posting a link to this post on my [[https://fosstodon.org/@mmk2410][Mastodon]] account the creator of =ox-hugo= [[https://mastodon.technology/@kaushalmodi/107628728895838695][replied]] and pointed me to the documentation which [[https://ox-hugo.scripter.co/doc/org-capture-setup/#org-capture-template-export-date][includes an org caputer template]] or---to be more precise---a generator for an org capture template which automatically generates the =EXPORT_FILE_NAME=. He also mentioned that =ox-hugo= uses the =CLOSED= property of an org entry (e.g. a blog post) for automatically setting the date. This =CLOSED: = line is added when a org mode entry is set to =DONE= using the =org-todo= command (bound to =C-c C-t= for me) as long as the variable =org-log-done= is set to =time=. Both things are really great and I will switch to them! I should have read the documentation more carefully in the beginning... +After posting a link to this post on my [[https://fosstodon.org/@mmk2410][Mastodon]] account the creator of =ox-hugo= [[https://mastodon.technology/@kaushalmodi/107628728895838695][replied]] and pointed me to the documentation which [[https://ox-hugo.scripter.co/doc/org-capture-setup/#org-capture-template-export-date][includes an org caputer template]] or---to be more precise---a generator for an org capture template which automatically generates the =EXPORT_FILE_NAME=. He also mentioned that =ox-hugo= [[https://ox-hugo.scripter.co/doc/org-meta-data-to-hugo-front-matter/#for-subtree-based-exports][uses]] the =CLOSED= property of an org entry (e.g. a blog post) for automatically setting the date. This =CLOSED: = line is added when a org mode entry is set to =DONE= using the =org-todo= command (bound to =C-c C-t= for me) as long as the variable =org-log-done= is set to =time=. Both things are really great and I will switch to them! I should have read the documentation more carefully in the beginning... * How this post is brought to you... :@100DaysToOffload:emacs:orgmode:hugo: :PROPERTIES: