Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractYAMLFrontmatter ¶
ExtractYAMLFrontmatter extracts YAML front matter content from r.
The extractor tries the known YAML front matter formats in order and returns only the extracted front matter bytes.
func NewYAML2FrontmatterFormat ¶
func NewYAML2FrontmatterFormat() *frontmatter.Format
NewYAML2FrontmatterFormat returns the alternative YAML front matter format using `---yaml` as the opening delimiter.
func NewYAMLFrontmatterFormat ¶
func NewYAMLFrontmatterFormat() *frontmatter.Format
NewYAMLFrontmatterFormat returns the YAML front matter format used by Hugo.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.