.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 Jan 20, 2022 13:08 UTC.


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

Overriding Org-style tags

categories: cat3 3 word cat

tags: overriding underscore_is_retained hyphenated-works


Description/Summary

By using EXPORT_HUGO_TAGS in the property drawer, Org tags in the current headline (“this_tag_wont_apply”) and the inherited one (“alpha”, “beta”, “hyphenated-tag”, “super”) will get overridden. When setting categories via the keyword #+HUGO+CATEGORIES or the subtree property EXPORT_HUGO_CATEGORIES, do not add the “@” prefix.


Content

By using EXPORT_HUGO_TAGS in the property drawer, Org tags in the current headline (“this_tag_wont_apply”) and the inherited one (“alpha”, “beta”, “hyphenated-tag”, “super”) will get overridden.

When setting categories via the keyword #+HUGO+CATEGORIES or the subtree property EXPORT_HUGO_CATEGORIES, do not add the “@” prefix.


Page (Debug)

Page VariableValue
Name "Overriding Org-style tags"
Title "Overriding Org-style tags"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://hugo-sandbox.netlify.com/posts/overriding-tags/"
RelPermalink "/posts/overriding-tags/"
Data
page.Data{} (type:page.Data)
NextPageOrg Source Block
PrevPagePage bleariest stubble
NextInSectionOrg Source Block
PrevInSectionPage bleariest stubble

Page Params (Debug)

maps.Params{"categories":[]string{"cat3", "3 word cat"}, "draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "tags":[]string{"overriding", "underscore_is_retained", "hyphenated-works"}, "title":"Overriding Org-style tags"} (type:maps.Params)

File Object (Debug)

FileInfo VariableValue
UniqueID "2ac16ea141febe4da7b4dc05d4421a33"
BaseFileName "overriding-tags"
TranslationBaseName "overriding-tags"
Lang "en"
Section "posts"
LogicalName "overriding-tags.md"
Dir "posts/"
Ext "md"
Path "posts/overriding-tags.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]