hugo: github.com/gohugoio/hugo/parser Index | Files | Directories

package parser

import "github.com/gohugoio/hugo/parser"

Index

Package Files

frontmatter.go lowercase_camel_json.go

func InterfaceToConfig Uses

func InterfaceToConfig(in interface{}, format metadecoders.Format, w io.Writer) error

func InterfaceToFrontMatter Uses

func InterfaceToFrontMatter(in interface{}, format metadecoders.Format, w io.Writer) error

type LowerCaseCamelJSONMarshaller Uses

type LowerCaseCamelJSONMarshaller struct {
    Value interface{}
}

Code adapted from https://gist.github.com/piersy/b9934790a8892db1a603820c0c23e4a7

func (LowerCaseCamelJSONMarshaller) MarshalJSON Uses

func (c LowerCaseCamelJSONMarshaller) MarshalJSON() ([]byte, error)

Directories

PathSynopsis
metadecoders
pageparserPackage pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo.

Package parser imports 10 packages (graph) and is imported by 119 packages. Updated 2020-07-07. Refresh now. Tools for package owners.