.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 Oct 05, 2024 21:20 UTC.


This page was created/modified in commit c24ea79 "feat!: Use tomelr.el for TOML generation" on 2022-05-03.
Markdown source of this page

Hugo keyword

tags: body keyword hugo


Description/Summary

Stuff followed the #+hugo: exports as-is except when it is “more”

Content

As the content following #+hugo: exports as-is to the Markdown, that content should be what Hugo can parse (i.e. Markdown, shortcodes, etc).

This Org snippet:

#+hugo: This `relref` links to [this same page]({​{< relref "hugo-keyword" >}}).

renders as below:

This relref links to this same page.

Using #+hugo: for unpaired shortcodes with named arguments #

ox-hugo Issue #624

#+hugo: {{< myshortcode-named arg1="horizontal" arg2="static/img/legacy/works/land" >}}

renders as below:


Page (Debug)

Page VariableValue
Name "Hugo keyword"
Title "Hugo keyword"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/hugo-keyword/"
RelPermalink "/posts/hugo-keyword/"
Data
page.Data{} (type:page.Data)
NextPageHugo auto weight ineffective for per-file exports
PrevPageHUGO_DRAFT false, DONE state
NextInSectionHugo auto weight ineffective for per-file exports
PrevInSectionHUGO_DRAFT false, DONE state

Page Params (Debug)

KeyTypeValue
descriptionstring " Stuff followed the `#+hugo:` exports as-is except when it is \"more\"\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-03 00:48:15 -0400 -0400
tags[]string "body" "keyword" "hugo"
titlestring "Hugo keyword"

File Object (Debug)

FileInfo VariableValue
UniqueID "7de77456d6b1eb556bc679c88c2fb756"
BaseFileName "hugo-keyword"
TranslationBaseName "hugo-keyword"
Lang "en"
Section "posts"
LogicalName "hugo-keyword.md"
Dir "posts/"
Ext "md"
Path "posts/hugo-keyword.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]