.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | tags | search ]
ox-hugo Test Site

This is the test site for the ox-hugo package for Emacs/Org-mode.

It is updated automatically after each commit to the ox-hugo repo. It was last updated on Oct 05, 2024 21:20 UTC.


This page was created/modified in commit 5b3f856 "Update tests where posts have sub-heading tags" on 2022-01-10.
Markdown source of this page

Do not leak post's immediate sub-heading tag into the front-matter

tags: expected-tag post-heading-followed-soon-with-subheading


Description/Summary

Disable exporting of sub-heading tags by setting export option tags:nil.

Content

Sub-heading 1 #

This is a special case where:

The passing case for this test would be that the unexpected_tag does not leak into the post’s front-matter.


Page (Debug)

Page VariableValue
Name "Do not leak post's immediate sub-heading tag into the front-matter"
Title "Do not leak post's immediate sub-heading tag into the front-matter"
ResourceType "page"
Kind "page"
Section "posts"
Draft false
Type "posts"
Layout ""
Permalink "https://ox-hugo.scripter.co/test/posts/dont-leak-subheading-tags/"
RelPermalink "/posts/dont-leak-subheading-tags/"
Data
page.Data{} (type:page.Data)
NextPageDisabling Pandoc citations in a subtree (nil string)
PrevPageDon't number headings (but yes in TOC)
NextInSectionDisabling Pandoc citations in a subtree (nil string)
PrevInSectionDon't number headings (but yes in TOC)

Page Params (Debug)

KeyTypeValue
descriptionstring " Disable exporting of sub-heading tags by setting export option\n `tags:nil`.\n "
draftbool false
iscjklanguagebool false
lastmodtime.Time 2022-01-10 18:44:27 -0500 -0500
tags[]string "expected-tag" "post-heading-followed-soon-with-subheading"
titlestring "Do not leak post's immediate sub-heading tag into the front-matter"

File Object (Debug)

FileInfo VariableValue
UniqueID "7832204dc54577f8856cccd2ba951cd0"
BaseFileName "dont-leak-subheading-tags"
TranslationBaseName "dont-leak-subheading-tags"
Lang "en"
Section "posts"
LogicalName "dont-leak-subheading-tags.md"
Dir "posts/"
Ext "md"
Path "posts/dont-leak-subheading-tags.md"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.101.0 (commit 466fa43c16709b4483689930a4f9ac8add5c9f66) . This site is powered by Netlify.
[Test Site home | ox-hugo home]