.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 26, 2022 21:18 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

Replace only "categories" key

tags: front-matter keys replace categories


Description/Summary

This post will have the categories key in front-matter replaced with cats.


Content

This post will have the categories key in front-matter replaced with cats.


Page (Debug)

Page VariableValue
Name " Replace only \"categories\" key\n "
Title " Replace only \"categories\" key\n "
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/replace-only-categories-key/"
RelPermalink "/posts/replace-only-categories-key/"
Data
page.Data{} (type:page.Data)
NextPage Replace both "tags" and "categories" keys
PrevPage Replace only "linkTitle" key
NextInSection Replace both "tags" and "categories" keys
PrevInSection Replace only "linkTitle" key

Page Params (Debug)

KeyTypeValue
cats[]string "test-cat-x"
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-05-03 00:48:15 -0400 -0400
tags[]string "front-matter" "keys" "replace" "categories"
titlestring " Replace only \"categories\" key\n "

File Object (Debug)

FileInfo VariableValue
UniqueID "e215bb52a5e75cb718e23d0e26f1d2bd"
BaseFileName "replace-only-categories-key"
TranslationBaseName "replace-only-categories-key"
Lang "en"
Section "posts"
LogicalName "replace-only-categories-key.md"
Dir "posts/"
Ext "md"
Path "posts/replace-only-categories-key.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]