.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ 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 463d2f3 "Add an example of creating an Org macro in lieu of a Hugo shortcode" on 2019-11-11.
Markdown source of this page

Using Org macros in lieu of Hugo shortcodes

tags: shortcode


Description/Summary

Using Org macros in place of Hugo shortcodes to make the Org content reusable across more export backends.

Content

ox-hugo Issue #303

The youtube Org macros used here kind of mimics the Hugo shortcode youtube.


Page (Debug)

Page VariableValue
Name "Using Org macros in lieu of Hugo shortcodes"
Title "Using Org macros in lieu of Hugo shortcodes"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/using-org-macros-in-lieu-of-hugo-shortcodes/"
RelPermalink "/posts/using-org-macros-in-lieu-of-hugo-shortcodes/"
Data
page.Data{} (type:page.Data)
NextPageUsing empty EXPORT_HUGO_SECTION
PrevPageVerse for indentation
NextInSectionURL Front-matter
PrevInSectionVerse for indentation

Page Params (Debug)

KeyTypeValue
descriptionstring " Using Org macros in place of Hugo shortcodes to make the Org content\n reusable across more export backends.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2019-11-11 09:23:54 -0500 -0500
tags[]string "shortcode"
titlestring "Using Org macros in lieu of Hugo shortcodes"

File Object (Debug)

FileInfo VariableValue
UniqueID "a1a8f3cad6bfcff22f7af8a2290480f4"
BaseFileName "using-org-macros-in-lieu-of-hugo-shortcodes"
TranslationBaseName "using-org-macros-in-lieu-of-hugo-shortcodes"
Lang "en"
Section "posts"
LogicalName "using-org-macros-in-lieu-of-hugo-shortcodes.md"
Dir "posts/"
Ext "md"
Path "posts/using-org-macros-in-lieu-of-hugo-shortcodes.md"

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]