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 heading (“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 heading (“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 Variable | Value | |
|---|---|---|
| Name | "Overriding Org-style tags" | |
| Title | "Overriding Org-style tags" | |
| ResourceType | "page" | |
| Kind | "page" | |
| Section | "posts" | |
| Draft | false | |
| Type | "posts" | |
| Layout | "" | |
| Permalink | "https://ox-hugo.scripter.co/test/posts/overriding-tags/" | |
| RelPermalink | "/posts/overriding-tags/" | |
| Data |
| |
| NextPage | Output HTML and JSON | |
| PrevPage | ox-hugo Issue 333 test | |
| NextInSection | Output HTML and JSON | |
| PrevInSection | Page using the Headless Page Bundle X |
Page Params (Debug)
| Key | Type | Value |
|---|---|---|
| categories | []string | "cat3" "3 word cat" |
| draft | bool | false |
| iscjklanguage | bool | false |
| lastmod | time.Time | 2022-01-03 16:52:29 -0500 -0500 |
| tags | []string | "overriding" "underscore_is_retained" "hyphenated-works" |
| title | string | "Overriding Org-style tags" |
File Object (Debug)
| FileInfo Variable | Value |
|---|---|
| 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" |