.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 Jun 24, 2020 15:21 UTC.


This page was created/modified in commit 1aa2536 "Prevent error if front-matter key to be replaced does not exist" on 2018-01-25.
Markdown source of this page

Replace custom keys

tags: front-matter keys replace custom


Description/Summary

This post will have the foo key in front-matter replaced with myfoo and bar replaced with mybar.


Content

This post will have the foo key in front-matter replaced with myfoo and bar replaced with mybar.


Page (Debug)

Page VariableValue
Name "Replace custom keys"
Title "Replace custom keys"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/replace-custom-keys/"
RelPermalink "/posts/replace-custom-keys/"
Data
page.Data{} (type:page.Data)
NextPageReplace both "tags" and "categories" keys
PrevPageReplace keys using multiple properties
NextInSectionReplace both "tags" and "categories" keys
PrevInSectionReplace keys using multiple properties

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2018-01-25 10:29:38 -0500 -0500
mybarint64 2
myfooint64 1
tags[]string "front-matter" "keys" "replace" "custom"
titlestring "Replace custom keys"

File Object (Debug)

FileInfo VariableValue
UniqueID "b463440a1195f3ccebf9edc5327e5774"
BaseFileName "replace-custom-keys"
TranslationBaseName "replace-custom-keys"
Lang "en"
Section "posts"
LogicalName "replace-custom-keys.md"
Dir "posts/"
Ext "md"
Path "posts/replace-custom-keys.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.68.3 (commit 157669a0) .
[Test Site home | ox-hugo home]