.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 Jun 26, 2022 21:18 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

Links to Info manual nodes

(Last modified on Mon Jun 13, 2022)

Test links to Info manual nodes.

Markdown source block with Hugo shortcodes

(Last modified on Tue May 31, 2022)

Test verbatim use of Hugo shortcodes in content.

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.

Code-fenced source blocks

(Last modified on Fri May 27, 2022)

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.

Source blocks with Hugo highlight shortcode

(Last modified on Fri May 27, 2022)

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. infodir = $(prefix)/org/info # Default: $(prefix)/info ORG_MAKE_DOC Types of Org documentation you’d like to build by default.

Source blocks with highlight shortcode

(Last modified on Fri May 27, 2022)

Note that to disable the code fence option, the value portion of the property needs to be left empty instead of setting to nil! :PROPERTIES: :EXPORT_HUGO_CODE_FENCE: :END: 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.

Code-fenced source blocks (default behavior)

(Last modified on Fri May 27, 2022)

The source blocks are code-fenced by default. 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.

Source block with caption

(Last modified on Fri May 27, 2022)

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

Links to source blocks

(Last modified on Fri May 27, 2022)

Test for internal links to source block references.


SiteInfo (Debug)

SiteInfo VariableValue
Title "ox-hugo Test Site"
Author
KeyTypeValue
namestring "Kaushal Modi"
Social
KeyTypeValue
githubstring "kaushalmodi"
LastChange 2022-06-13 00:25:09 -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]