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:
- 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.
Page (Debug)
| Page Variable | Value | |
|---|---|---|
| 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 |
| |
| NextPage | Custom date key in front-matter | |
| PrevPage | Don't Prefer Hyphen Categories | |
| NextInSection | Custom date key in front-matter | |
| PrevInSection | Don'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 Variable | Value |
|---|---|
| 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" |