.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 Aug 11, 2018 22:10 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

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:

Single author

(Last modified on Fri Aug 3, 2018)

This post has 1 author set as a TOML list in front-matter.

Single author as a custom parameter

(Last modified on Fri Aug 3, 2018)

This post has 1 author set as a TOML string in front-matter.

Citation Forms (Custom CSL)

(Last modified on Mon Jul 23, 2018)

Demonstrating different styles / forms of citations using APA CSL

Citations Example (TOML)

(Last modified on Fri Jul 20, 2018)

Test the parsing of Pandoc Citations, while also testing that ox-hugo exported Markdown doesn’t get broken – TOML front-matter.

Citation Forms

(Last modified on Fri Jul 20, 2018)

Demonstrating different styles / forms of citations

Citation Linking

(Last modified on Fri Jul 20, 2018)

Auto-link citations from post body to the citation in References section.


SiteInfo (Debug)

SiteInfo VariableValue
Title "ox-hugo Test Site"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
LastChange 2018-08-08 10:53:38 -0400 -0400
DisqusShortname ""
GoogleAnalytics ""
Copyright ""
RSSLink "https://ox-hugo.scripter.co/test/index.xml"
LanguageCode "en-us"
BuildDrafts true
Params
KeyTypeValue
custom_css[]interface {} "css/style.css"
descriptionstring "Test site for ox-hugo package for Emacs/Org-mode."
footerstring "<div style=\"text-align: center;\">\n [<a href=\"/\">Test Site home</a> | <a href=\"https://ox-hugo.scripter.co/\"><code>ox-hugo</code> home</a>]\n</div>\n"
introstring "This is the test site for the <a href=\"https://github.com/kaushalmodi/ox-hugo\">\n<code>ox-hugo</code></a> package for Emacs/Org-mode.\n"
mainSections[]string "posts"
mainsections[]string "posts"
sourcemap[string]interface {}
KeyTypeValue
md_dirstring "test/site/content"
org_dirstring "test/site/content-org"
urlstring "https://github.com/kaushalmodi/ox-hugo"

File Object (Debug)

FileInfo VariableValue
UniqueID "3976528693a0108357f4928017600865"
BaseFileName "_index"
TranslationBaseName "_index"
Lang "en"
Section ""
LogicalName "_index.md"
Dir ""
Ext "md"
Path "_index.md"

Menu (Debug)

KeyTypeValue
0.search*hugolib.Menu
MenuEntry VariableValue
Menu "0.search"
Title "Click to Search"
Name "Search"
URL "/search/"
Identifier "search"
Weight 2001
Pre ""
Post ""
Parent ""
Children
auto weight*hugolib.Menu
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1 (HUGO_MENU as keyword)"
Name "Post with menu 1 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-1/"
Identifier "post-with-menu-1--hugo-menu-as-keyword"
Weight 1001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2 (HUGO_MENU as keyword)"
Name "Post with menu 2 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-2/"
Identifier "post-with-menu-2--hugo-menu-as-keyword"
Weight 1002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3 (HUGO_MENU as keyword)"
Name "Post with menu 3 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-3/"
Identifier "post-with-menu-3--hugo-menu-as-keyword"
Weight 1003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4 (HUGO_MENU as keyword)"
Name "Post with menu 4 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-4/"
Identifier "post-with-menu-4--hugo-menu-as-keyword"
Weight 1004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5 (HUGO_MENU as keyword)"
Name "Post with menu 5 (HUGO_MENU as keyword)"
URL "/posts/hugo-menu-as-keyword--post-with-menu-5/"
Identifier "post-with-menu-5--hugo-menu-as-keyword"
Weight 1005
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 1"
Name "Post with menu 1"
URL "/posts/post-with-menu-1/"
Identifier "post-with-menu-1"
Weight 4001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 2"
Name "Post with menu 2"
URL "/posts/post-with-menu-2/"
Identifier "post-with-menu-2"
Weight 4002
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 3"
Name "Post with menu 3"
URL "/posts/post-with-menu-3/"
Identifier "post-with-menu-3"
Weight 4003
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 4"
Name "Post with menu 4"
URL "/posts/post-with-menu-4/"
Identifier "post-with-menu-4"
Weight 4004
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "auto weight"
Title "Post with menu 5"
Name "Post with menu 5"
URL "/posts/post-with-menu-5/"
Identifier "post-with-menu-5"
Weight 4005
Pre ""
Post ""
Parent ""
Children
foo*hugolib.Menu
MenuEntry VariableValue
Menu "foo"
Title "Keyword Collection"
Name "Keyword Collection"
URL "/posts/keyword-collection/"
Identifier "keyword-collection"
Weight 10
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "main"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post with TOML front matter"
Name "Single Post with TOML front matter"
URL "/singles/post-toml/"
Identifier "single-toml"
Weight 10
Pre ""
Post ""
Parent "main"
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post with YAML front matter"
Name "Single Post with YAML front matter"
URL "/singles/post-yaml/"
Identifier "single-yaml"
Weight 10
Pre ""
Post ""
Parent "main"
Children
MenuEntry VariableValue
Menu "foo"
Title "Single Post, but draft"
Name "Single Post, but draft"
URL "/singles/post-draft/"
Identifier "single-post-but-draft"
Weight 10
Pre ""
Post ""
Parent "main"
Children
main*hugolib.Menu
MenuEntry VariableValue
Menu "main"
Title "Writing Hugo blog in Org"
Name "Writing Hugo blog in Org"
URL "/writing-hugo-blog-in-org-subtree-export/"
Identifier "writing-hugo-blog-in-org"
Weight 2001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "main"
Title "Writing Hugo blog in Org (File Export)"
Name "Writing Hugo blog in Org (File Export)"
URL "/writing-hugo-blog-in-org-file-export/"
Identifier "writing-hugo-blog-in-org--file-export"
Weight 2001
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "main"
Title "Menu Meta Data in YAML Front Matter"
Name "Menu Meta Data in YAML Front Matter"
URL "/posts/menu-meta-data-yaml/"
Identifier "yaml-menu-override"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
MenuEntry VariableValue
Menu "main"
Title "White space in menu name"
Name "Menu in YAML"
URL "/posts/menu-meta-data-yaml3/"
Identifier "white-space-in-menu-name"
Weight 25
Pre ""
Post ""
Parent "posts"
Children
something here*hugolib.Menu
MenuEntry VariableValue
Menu "something here"
Title "White space in menu entry"
Name "White space in menu entry"
URL "/posts/menu-meta-data-yaml2/"
Identifier "white-space-in-menu-entry"
Weight 25
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu ""
Title ""
Name "posts"
URL ""
Identifier ""
Weight 0
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "something here"
Title "Overriding few menu properties"
Name "Overriding few menu properties"
URL "/posts/menu-alist-meta-data-toml-override-partial/"
Identifier "ov-partial"
Weight 10
Pre ""
Post ""
Parent "posts"
Children
test*hugolib.Menu
MenuEntry VariableValue
Menu "test"
Title "Overriding menu properties completely"
Name "Overriding menu properties completely"
URL "/posts/menu-alist-meta-data-toml-override-full/"
Identifier "overriding-menu-properties-completely"
Weight 50
Pre ""
Post ""
Parent ""
Children
MenuEntry VariableValue
Menu "test"
Title "Page title for menu"
Name "Menu Title property"
URL "/posts/menu-title-property/"
Identifier "menu-title-property"
Weight 3003
Pre ""
Post ""
Parent ""
Children

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