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 Variable | Value | |
---|---|---|
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 |
| |
NextPage | Using empty EXPORT_HUGO_SECTION | |
PrevPage | Verse for indentation | |
NextInSection | URL Front-matter | |
PrevInSection | Verse for indentation |
Page Params (Debug)
Key | Type | Value |
---|---|---|
description | string | " Using Org macros in place of Hugo shortcodes to make the Org content\n reusable across more export backends.\n " |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2019-11-11 09:23:54 -0500 -0500 |
tags | []string | "shortcode" |
title | string | "Using Org macros in lieu of Hugo shortcodes" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
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" |