.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

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

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


Description/Summary

Sub-heading 1 This is a special case where: A post has a sub-heading as the first line in its body, and That sub-heading has a tag too! The passing case for this test would be that the unexpected_tag does not leak into the post’s front-matter.


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://hugo-sandbox.netlify.com/posts/dont-leak-subheading-tags/"
RelPermalink "/posts/dont-leak-subheading-tags/"
Data
page.Data{} (type:page.Data)
NextPageCustom date key in front-matter
PrevPageDon't Prefer Hyphen Categories
NextInSectionCustom date key in front-matter
PrevInSectionDon't Prefer Hyphen Categories

Page Params (Debug)

maps.Params{"draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "tags":[]string{"expected-tag", "post-heading-followed-soon-with-subheading"}, "title":"Do not leak post's immediate sub-heading tag into the front-matter"} (type:maps.Params)

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.92.0 (commit b3549403) .

[Back to Hugo Sandbox home]