If a subtree has the SCHEDULED Special Property set, set the publishdate front-matter to the scheduled date. By default, C-c C-s in Org adds the SCHEDULED property to the current subtree.
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.
ox-hugo
.Image in homepage branch bundle:
If a subtree has the SCHEDULED Special Property set, set the publishdate front-matter to the scheduled date. By default, C-c C-s in Org adds the SCHEDULED property to the current subtree.
This post will have the foo key in front-matter replaced with myfoo and bar replaced with mybar.
Here, attempt is made to replace a non-existing key toto, but still, there shouldn’t be any error.
This post will have the tags and categories keys in the front-matter swapped.
This post will have the tags key in front-matter replaced with keywords and categories replaced with cats.
It’s possible that someone is using an existing Org file to export to Hugo. Some exporters like ox-texinfo recognize dates of style YEAR1-YEAR2 to use them in Copyright headers. But that date is invalid as per the standard date format used by Hugo in date front-matter, and also as per org-parse-time-string. So in that case, don’t allow org-parse-time-string to throw an error and abort the export, but instead simply don’t set the date in the front-matter.
The expirydate for this post is set in Org using the C-c . RET binding.
hugo-bare-min-theme
+ Hugo 0.101.0
(commit
466fa43c16709b4483689930a4f9ac8add5c9f66)
.
This site is powered by Netlify.