ox-hugo Test Site
This is the test site for the ox-hugo package for Emacs/Org-mode. It is generated using ox-hugo itself + Hugo 0.33-DEV (commit f8a119b6, using Chroma commit 38cc9bd).

It is updated automatically after each commit to the ox-hugo repo linked above. It was last updated on Jan 18, 2018 18:34 UTC.


Post with resources in front-matter

Post with resources in front-matter

Only custom resource params

Custom resource params with list values

Custom resource params with list values

Nested lists

foo1 foo2 bar1 bar2 baz1 baz2 zoo1 zoo2 numbered1 numbered2 Unordered list inside descriptive list bar1 description for bar1 foo1 foo2 bar2 description for bar2 foo3 foo4 Descriptive list inside unordered list Seems like Blackfriday style descriptive list syntax does not work when that list is nested in other lists. So in that case, switch back to the descriptive list syntax used in ox-md.
Read more

Source blocks with highlighting

Without line numbers Org source #+BEGIN_SRC emacs-lisp :hl_lines 1,3-5 (message "This is line 1") (message "This is line 2") (message "This is line 3") (message "This is line 4") (message "This is line 5") (message "This is line 6") #+END_SRC Output (message "This is line 1") (message "This is line 2") (message "This is line 3") (message "This is line 4") (message "This is line 5") (message "This is line 6") Above highlighting might look weird as the highlighting spans the full page/container width.
Read more

Plain lists with ATTR_HTML

Unordered lists .red-text { color: red; } Red list item 1 Red list item 2 .green-text { color: green; } Green list item 1 Green list item 2 Ordered lists Green ordered list item 1 Green ordered list item 2 The green-text style is defined in the list above this one. Ordered list with custom counter .
Read more

Export snippet Markdown

This Markdown Export Snippet will also get exported for Hugo exports, verbatim. This one too NOTE ox-md.el does not support Export Snippets as of writing this <2017-12-08 Fri>. So even the @@md:foo@@ and @@markdown:foo@@ snippets are handled by ox-hugo directly.

Code-fenced source blocks

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.
Read more


SiteInfo (Debug)

SiteInfo VariableValue
Title "ox-hugo Test Site"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
LastChange 2018-01-17 15:39:05 -0500 -0500
DisqusShortname ""
GoogleAnalytics ""
Copyright ""
RSSLink "https://ox-hugo.scripter.co/test/index.xml"
LanguageCode "en-us"
BuildDrafts true
Params
KeyTypeValue
descriptionstring "Test site for ox-hugo package for Emacs/Org-mode."
mainSections[]string "posts"
mainsections[]string "posts"

[Test Site home | ox-hugo home]