.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 Jun 26, 2022 21:18 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

2020-04-19

(Last modified on Tue May 3, 2022)

Test the case where the title contains only the date, making it look like a Hugo TOML date field.

Setting EXPORT_HUGO_SECTION to "/"

(Last modified on Tue May 3, 2022)

Case where EXPORT_HUGO_SECTION is set to /.

Replace only "tags" key

(Last modified on Tue May 3, 2022)

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

Replace only "linkTitle" key

(Last modified on Tue May 3, 2022)

This post will have the linkTitle key in front-matter replaced with linktitle.

Replace only "categories" key

(Last modified on Tue May 3, 2022)

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

Replace both "tags" and "categories" keys

(Last modified on Tue May 3, 2022)

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

Replace "description" with "summary"

(Last modified on Tue May 3, 2022)

This should be rendered as .Summary in Hugo v0.55+. For only Hugo versions, this will front-matter can be retrieved only as .Params.summary.

Overriding menu properties completely

(Last modified on Tue May 3, 2022)

For this post, we see that no menu properties are inherited from the parent; only the menu properties set in his subtree are effective.

Overriding few menu properties

(Last modified on Tue May 3, 2022)

For this post, we should see just the menu weight and identifier properties get overridden. You need to set unique menu identifiers, else you get a Hugo error like this: ERROR 2017/07/18 12:32:14 Two or more menu items have the same name/identifier in Menu "main": "menu-meta-data-in-yaml-front-matter". Rename or set an unique identifier.

Menu Meta Data in YAML Front Matter

(Last modified on Tue May 3, 2022)

Testing the addition of menu meta data to the YAML front matter. Here the front matter format is set to YAML using the #+hugo_front_matter_format keyword. Later only the weight and identifier menu properties are overridden using EXPORT_HUGO_MENU_OVERRIDE key in the property drawer.


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]