# README
hugo v0.49.2
The few files in this directory are copied from the hugo repository at tag [email protected] and only slightly modified. It's the easiest way to get working what I needed to work as the few required functions are well isolated. I've added Hugo's Apache License v2.0.
# Functions
DetectFrontMatter detects the type of frontmatter analysing its first character.
HandleJSONMetaData unmarshals JSON-encoded datum and returns a Go interface representing the encoded data structure.
HandleTOMLMetaData unmarshals TOML-encoded datum and returns a Go interface representing the encoded data structure.
HandleYAMLMetaData unmarshals YAML-encoded datum and returns a Go interface representing the encoded data structure.
ReadFrom reads the content from an io.Reader and constructs a page.
No description provided by the author
# Constants
BOM Unicode byte order marker.
HTMLCommentEnd identifies the end of HTML comment.
HTMLCommentStart identifies the start of HTML comment.
HTMLLead identifies the start of HTML documents.
JSONLead identifies the start of JSON frontmatter.
TOMLDelim identifies the TOML front matter delimiter.
TOMLLead identifies the start of TOML front matter.
YAMLDelim identifies the YAML front matter delimiter.
YAMLLead identifies the start of YAML frontmatter.
# Structs
No description provided by the author
FrontmatterType represents a type of frontmatter.
No description provided by the author
# Interfaces
Page represents a parsed content page.
# Type aliases
PathPattern represents a string which builds up a URL from attributes.