.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 Oct 09, 2018 14:48 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/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
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)

KeyTypeValue
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-11-02 10:12:52 -0400 -0400
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.50-DEV (commit d5d50e2f, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]