Spaces in categories
categories: abc def abc def ghi abc def ghi jkl
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 Variable | Value | |
---|---|---|
Name | "Spaces in categories" | |
Title | "Spaces in categories" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://ox-hugo.scripter.co/test/posts/spaces-in-categories/" | |
RelPermalink | "/posts/spaces-in-categories/" | |
Data |
| |
NextPage | Source blocks with line number annotation (Goldmark) | |
PrevPage | Spaces in tags | |
NextInSection | Source blocks with line number annotation (Goldmark) | |
PrevInSection | Spaces in tags |
Page Params (Debug)
Key | Type | Value |
---|---|---|
categories | []string | "abc def" "abc def ghi" "abc def ghi jkl" |
draft | bool | false |
iscjklanguage | bool | false |
lastmod | time.Time | 2017-09-22 11:05:12 -0400 -0400 |
title | string | "Spaces in categories" |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "c8fdde0e9224567dd59a73ac4af6b9d3" |
BaseFileName | "spaces-in-categories" |
TranslationBaseName | "spaces-in-categories" |
Lang | "en" |
Section | "posts" |
LogicalName | "spaces-in-categories.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/spaces-in-categories.md" |