.Kind (home): .Type (page) / .Layout ()
Bundle: branch
[ 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 f0dd0e2 "Support image copying for the homepage branch bundle case" on 2018-04-23.
Markdown source of this page

Content

Image in homepage branch bundle:


Resources

Publish date set using SCHEDULED

(Last modified on Fri Jan 26, 2018)

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.

Replace custom keys

(Last modified on Thu Jan 25, 2018)

This post will have the foo key in front-matter replaced with myfoo and bar replaced with mybar.

Attempt to replace non-existing keys

(Last modified on Thu Jan 25, 2018)

Here, attempt is made to replace a non-existing key toto, but still, there shouldn’t be any error.

Swap tags and categories

(Last modified on Wed Jan 24, 2018)

This post will have the tags and categories keys in the front-matter swapped.

Replace keys using multiple properties

(Last modified on Wed Jan 24, 2018)

This post will have the tags key in front-matter replaced with keywords and categories replaced with cats.

Single keyword in front-matter

(Last modified on Wed Jan 24, 2018)

Multiple keywords in front-matter

(Last modified on Wed Jan 24, 2018)

Keywords set using multiple properties

(Last modified on Wed Jan 24, 2018)

Invalid Date

(Last modified on Tue Jan 23, 2018)

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.

Expiry date set using Org time stamp

(Last modified on Tue Jan 23, 2018)

The expirydate for this post is set in Org using the C-c . RET binding.


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]