.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 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)
NextPageRemove a front-matter key
PrevPageReplace keys using multiple properties
NextInSectionRemove a front-matter key
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.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]