.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 8a433e9 ""Example" Site -> "Test" Site" on 2017-09-22.
Markdown source of this page

Hyphens and spaces in categories

categories: an-apple a_pear good bad and ugly


Description/Summary

The Org tags do not allow spaces. So the trick we use is replace double underscores with spaces. So an Org tag @abc__def becomes Hugo category abc def.


Content

The Org tags do not allow spaces. So the trick we use is replace double underscores with spaces.

So an Org tag @abc__def becomes Hugo category abc def.


Page (Debug)

Page VariableValue
Name "Hyphens and spaces in categories"
Title "Hyphens and spaces in categories"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/hyphens-and-spaces-in-categories/"
RelPermalink "/posts/hyphens-and-spaces-in-categories/"
Data
page.Data{} (type:page.Data)
NextPageHUGO_SECTION set in post subtree
PrevPageHyphens and spaces in tags
NextInSectionHUGO_DRAFT true, no TODO state
PrevInSectionHyphens and spaces in tags

Page Params (Debug)

KeyTypeValue
categories[]string "an-apple a_pear" "good bad and ugly"
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-09-22 11:05:12 -0400 -0400
titlestring "Hyphens and spaces in categories"

File Object (Debug)

FileInfo VariableValue
UniqueID "c4a1fcad0bf66378611b7c5fd6b2fdbc"
BaseFileName "hyphens-and-spaces-in-categories"
TranslationBaseName "hyphens-and-spaces-in-categories"
Lang "en"
Section "posts"
LogicalName "hyphens-and-spaces-in-categories.md"
Dir "posts/"
Ext "md"
Path "posts/hyphens-and-spaces-in-categories.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]