Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileHasFrontMatter ¶
FileHasFrontMatter returns a bool indicating whether the file looks like it has frontmatter.
Types ¶
type FrontMatter ¶
type FrontMatter map[string]interface{}
FrontMatter wraps a map to provide interface functions
func (FrontMatter) SortedStringArray ¶
func (fm FrontMatter) SortedStringArray(key string) []string
SortedStringArray returns a sorts list of strings from a frontmatter variable that is either a string (in which case it is a ws-separated list of words), or a list of strings.
This is the format for page categories and tags.
Click to show internal directories.
Click to hide internal directories.