.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

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.

Single Post, but draft

(Last modified on Tue May 3, 2022)

This is a single post. You do not need to set the EXPORT_FILE_NAME property in here. But then you also lose the tag and property inheritance, TODO state, etc. Org awesomeness. First heading in this post # This is a under first heading. Second heading in this post # This is a under second heading.

Single Post with TOML front matter

(Last modified on Tue May 3, 2022)

Some description for this post.

Post with menu 5

(Last modified on Tue May 3, 2022)

Post with menu 4

(Last modified on Tue May 3, 2022)

Post with menu 3

(Last modified on Tue May 3, 2022)


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]