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 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://hugo-sandbox.netlify.com/posts/overriding-tags/" | |
RelPermalink | "/posts/overriding-tags/" | |
Data |
| |
NextPage | Org Source Block | |
PrevPage | Page bleariest stubble | |
NextInSection | Org Source Block | |
PrevInSection | Page 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 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" |