.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Oct 09, 2018 14:48 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

Spaces in tags

tags: 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 tag 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 tag abc def.


Page (Debug)

Page VariableValue
Name "Spaces in tags"
Title "Spaces in tags"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/spaces-in-tags/"
RelPermalink "/posts/spaces-in-tags/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
NextPageSpaces in categories
PrevPageSub/superscripts don't require braces
NextInSectionSpaces in categories
PrevInSectionSub/superscripts don't require braces

Page Params (Debug)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-11-02 10:12:52 -0400 -0400
tags[]string "abc def" "abc def ghi" "abc def ghi jkl"
titlestring "Spaces in tags"

File Object (Debug)

FileInfo VariableValue
UniqueID "a097bcd826fc139198393e0c57ea2298"
BaseFileName "spaces-in-tags"
TranslationBaseName "spaces-in-tags"
Lang "en"
Section "posts"
LogicalName "spaces-in-tags.md"
Dir "posts/"
Ext "md"
Path "posts/spaces-in-tags.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.50-DEV (commit d5d50e2f, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]