.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

Post in sub1/sub2/sub3

(Last modified on Mon Oct 1, 2018)

Test post created in posts/sub1/sub2/sub3.

Post in sub1/sub2

(Last modified on Mon Oct 1, 2018)

Test post created in posts/sub1/sub2.

Post in sub1

(Last modified on Mon Oct 1, 2018)

Test post created in posts/sub1.

Table caption

(Last modified on Fri Sep 7, 2018)

The caption can contain be emphasized using the usual markup characters too. Table 1: Awesome table h1 h2 h3 abc def ghi Some text. Table 2: Another awesome table h1 h2 h3 jkl mno pqr Some more text. Table 3: Third table — Caption with em-dash – and – en-dash h1 h2 h3 stu vwx yz

Table Styling with ATTR_HTML and ATTR_CSS

(Last modified on Fri Sep 7, 2018)

This table styling feature overcomes a known limitation in Hugo/Blackfriday (Blackfriday Issue #404) that doesn’t allow wrapping Markdown elements with <div> tags (so that a user can assign classes, etc. to those div blocks). So this feature had to be implemented at the expense of a nasty hack demonstrated here. HTML5 does not allow align, width, etc. attributes within the table tag [Ref]. So instead ox-hugo simply wraps the table with a div with a class.

Source block with caption

(Last modified on Fri Sep 7, 2018)

prefix = /dir/where/you/want/to/install/org # Default: /usr/share Code Snippet 1: Prefix value in local.mk (message "hello") Code Snippet 2: Hello — Caption with em-dash – and – en-dash

Default Creator

(Last modified on Wed Sep 5, 2018)

The front-matter for this post contains the default Creator string.

Auto-set Lastmod

(Last modified on Wed Sep 5, 2018)

This post will have its lastmod field in the front-matter auto-updated the time it gets exported each time.

Writing Hugo blog in Org (File Export)

(Last modified on Wed Sep 5, 2018)

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.

Writing Hugo blog in Org

(Last modified on Wed Sep 5, 2018)

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.


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]