.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 Feb 12, 2025 19:37 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

Post with #+toc: headlines 1 but no headings

(Last modified on Fri Oct 28, 2022)

Test the use of #+toc: headlines 1 in a post with no headings.

Preserve Breaks

(Last modified on Fri Oct 7, 2022)

abc def ghi

.dir-locals.el test

(Last modified on Fri Oct 7, 2022)

Test setting of few Org Hugo variables via .dir-locals.el.

Writing Hugo blog in Org (File Export)

(Last modified on Fri Oct 7, 2022)

First heading within the post # This post will be exported as content/posts/writing-hugo-blog-in-org-file-export.md. Its title will be “Writing Hugo blog in Org”. It will have hugo and org tags and emacs as category. The lastmod property in the front-matter is set automatically to the time of export. The menu item identifier is auto-set. The menu item weight and post weight if needed have to be manually specified as shown above. A sub-heading under that heading # It’s draft state will be marked as true because of #+hugo_draft: true.

Writing Hugo blog in Org

(Last modified on Fri Oct 7, 2022)

First heading within the post # This post will be exported as content/posts/writing-hugo-blog-in-org-subtree-export.md. Its title will be “Writing Hugo blog in Org”. It will have hugo and org tags and emacs as category. The menu item weight and post weight are auto-calculated. The menu item identifier is auto-set. The lastmod property in the front-matter is set automatically to the time of export. A sub-heading under that heading # It’s draft state will be marked as true as the subtree has the todo state set to TODO.

Citation using org-ref

(Last modified on Thu Oct 6, 2022)

Test citation CSL using org-ref.

Links to Info manual nodes

(Last modified on Mon Jun 13, 2022)

Test links to Info manual nodes.

Citations with captions

(Last modified on Tue May 31, 2022)

This test tests the following:

  • Pandoc leave the HTML span tags as-is.
  • Pandoc does not escape the < in the figure shortcodes with captions (in general: {{< .. >}} shortcodes that could wrap across lines).
  • While Pandoc auto-wraps the re-written Markdown, it also wraps the {{< .. >}} shortcodes. The test checks that such “wrapped shortcodes” get unwrapped.

Source block without list syntax in a list

(Last modified on Fri May 27, 2022)

Test source blocks inside list.

Code-fenced source blocks

(Last modified on Fri May 27, 2022)

Here the source blocks are explicitly set to be code-fenced by setting the EXPORT_HUGO_CODE_FENCE property to t. Here are few variables that you might like to change in the local.mk: prefix Org installation directory prefix = /dir/where/you/want/to/install/org # Default: /usr/share The .el files will go to $(prefix)/emacs/site-lisp/org by default. If you’d like to change that, you can tweak the lispdir variable. infodir Org Info installation directory. I like to keep the Info file for development version of Org in a separate directory.


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]