.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 Apr 21, 2019 12:06 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

Specified locale in front-matter

(Last modified on Tue Aug 28, 2018)

Specify the locale using :EXPORT_HUGO_LOCALE: es_ES property.

Auto-detected locale in front-matter

(Last modified on Tue Aug 28, 2018)

Locale is not specified, so is auto-detected.

Disabling Pandoc citations in a subtree (nil string)

(Last modified on Mon Aug 20, 2018)

Test that :EXPORT_HUGO_PANDOC_CITATIONS: nil disables Pandoc citations in a subtree.

Disabling Pandoc citations in a subtree (empty string)

(Last modified on Mon Aug 20, 2018)

Test that :EXPORT_HUGO_PANDOC_CITATIONS: disables Pandoc citations in a subtree.

Image with Hugo figure shortcode parameters set using ATTR_HTML

(Last modified on Thu Aug 16, 2018)

ox-hugo Issue #17 Setting class parameter Discussion Setting alt parameter Reference Setting title parameter Logo Setting image caption The image caption can be set in two ways. Using the Org #+caption keyword Using #+attr_html: :caption my caption The #+caption is available will get the higher precedence. In the below image, caption is set using that: Some text before image. Figure 1: A unicorn!

Image captions

(Last modified on Thu Aug 16, 2018)

Some text before image. Figure 1: A unicorn! “Something in double quotes” Some more text, after image.

Remove a front-matter key

(Last modified on Wed Aug 8, 2018)

This test removes the foo front-matter key from the exported file (and replaces bar key with zoo).

TOC Local

(Last modified on Tue Aug 7, 2018)

Test the #+toc: headlines N local syntax where a TOC is exported containing headlines only up to level-N relative to the headline in which that keyword is used.

Export block HTML

(Last modified on Tue Aug 7, 2018)

This HTML Export Block will also get exported for Hugo exports, verbatim. And Markdown emphasis characters like *, ` and _ will not escaped in here. From ox-hugo Issue #154, we see an actual case of where that * will need to remain unescaped: # Org source #+begin_export html <div> <script type="text/javascript"> var a = 3; var b = 2*a; </script> </div> #+end_export var a = 3; var b = 2*a; See the Markdown source of this page to see the verbatim-inserted HTML.

Image links

(Last modified on Tue Aug 7, 2018)

This is some text before the first heading of this post. Unclickable image (works!) # Org source #+name: fig__unclickable_image #+caption: Don't click this image -- It's not a hyperlink [[/images/org-mode-unicorn-logo.png]] Figure 1: Don’t click this image – It’s not a hyperlink To be fixed (Now fixed): The sub-headings in a post get exported as Heading 1 instead of Heading 2. For example, this sub-section’s heading is exported as:


This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.56.0-DEV (commit d1f9b0ce, using Chroma commit 26f03cb) .
[Test Site home | ox-hugo home]