.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 Mar 05, 2024 19:24 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

Markdown source block with Hugo shortcodes

(Last modified on Fri Oct 28, 2022)

Test verbatim use of Hugo shortcodes in content.

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.


SiteInfo (Debug)

SiteInfo VariableValue
Title "ox-hugo Test Site"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
LastChange 2022-10-28 12:04:47 -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 "<small>This site is powered by <a href=\"https://www.netlify.com\">Netlify</a>.</small>\n<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"
sourcemaps.Params
KeyTypeValue
default_branchstring "main"
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.searchnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Search"
Menu "0.search"
Identifier "search"
Title "Click to Search"
Pre ""
Post ""
Weight 2001
Parent ""
Children
auto weightnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 1 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-1-hugo-menu-as-keyword"
Title "Post with menu 1 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 2 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-2-hugo-menu-as-keyword"
Title "Post with menu 2 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1002
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 3 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-3-hugo-menu-as-keyword"
Title "Post with menu 3 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1003
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 4 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-4-hugo-menu-as-keyword"
Title "Post with menu 4 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1004
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 5 (HUGO_MENU as keyword)"
Menu "auto weight"
Identifier "post-with-menu-5-hugo-menu-as-keyword"
Title "Post with menu 5 (HUGO_MENU as keyword)"
Pre ""
Post ""
Weight 1005
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 1"
Menu "auto weight"
Identifier "post-with-menu-1"
Title "Post with menu 1"
Pre ""
Post ""
Weight 4001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 2"
Menu "auto weight"
Identifier "post-with-menu-2"
Title "Post with menu 2"
Pre ""
Post ""
Weight 4002
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 3"
Menu "auto weight"
Identifier "post-with-menu-3"
Title "Post with menu 3"
Pre ""
Post ""
Weight 4003
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 4"
Menu "auto weight"
Identifier "post-with-menu-4"
Title "Post with menu 4"
Pre ""
Post ""
Weight 4004
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Post with menu 5"
Menu "auto weight"
Identifier "post-with-menu-5"
Title "Post with menu 5"
Pre ""
Post ""
Weight 4005
Parent ""
Children
foonavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Keyword Collection"
Menu "foo"
Identifier "keyword-collection"
Title "Keyword Collection"
Pre ""
Post ""
Weight 10
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "main"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Single Post with TOML front matter"
Menu "foo"
Identifier "single-toml"
Title "Single Post with TOML front matter"
Pre ""
Post ""
Weight 10
Parent "main"
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Single Post with YAML front matter"
Menu "foo"
Identifier "single-yaml"
Title "Single Post with YAML front matter"
Pre ""
Post ""
Weight 10
Parent "main"
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Single Post, but draft"
Menu "foo"
Identifier "single-post-but-draft"
Title "Single Post, but draft"
Pre ""
Post ""
Weight 10
Parent "main"
Children
mainnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Writing Hugo blog in Org"
Menu "main"
Identifier "writing-hugo-blog-in-org"
Title "Writing Hugo blog in Org"
Pre ""
Post ""
Weight 2001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Writing Hugo blog in Org (File Export)"
Menu "main"
Identifier "writing-hugo-blog-in-org-file-export"
Title "Writing Hugo blog in Org (File Export)"
Pre ""
Post ""
Weight 2001
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "posts"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu in YAML"
Menu "main"
Identifier "white-space-in-menu-name"
Title "White space in menu name"
Pre ""
Post ""
Weight 25
Parent "posts"
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu Meta Data in YAML Front Matter"
Menu "main"
Identifier "yaml-menu-override"
Title "Menu Meta Data in YAML Front Matter"
Pre ""
Post ""
Weight 25
Parent "posts"
Children
signalandsystemsnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "chapter 1 advanced problems"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu with nested maps"
Menu "signalandsystems"
Identifier "menu-with-nested-maps"
Title "Menu with nested maps"
Pre ""
Post ""
Weight 2
Parent "chapter 1 advanced problems"
Children
something herenavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "White space in menu entry"
Menu "something here"
Identifier "white-space-in-menu-entry"
Title "White space in menu entry"
Pre ""
Post ""
Weight 25
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "posts"
Menu ""
Identifier ""
Title ""
Pre ""
Post ""
Weight 0
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Overriding few menu properties"
Menu "something here"
Identifier "ov-partial"
Title "Overriding few menu properties"
Pre ""
Post ""
Weight 10
Parent "posts"
Children
testnavigation.Menu
MenuEntry VariableValue
ConfiguredURL ""
Name "Overriding menu properties completely"
Menu "test"
Identifier "overriding-menu-properties-completely"
Title "Overriding menu properties completely"
Pre ""
Post ""
Weight 50
Parent ""
Children
MenuEntry VariableValue
ConfiguredURL ""
Name "Menu Title property"
Menu "test"
Identifier "menu-title-property"
Title "Page title for menu"
Pre ""
Post ""
Weight 3003
Parent ""
Children

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]