package parser
import "github.com/gohugoio/hugo/parser"
Index ¶
- func InterfaceToConfig(in any, format metadecoders.Format, w io.Writer) error
- func InterfaceToFrontMatter(in any, format metadecoders.Format, w io.Writer) error
- type LowerCaseCamelJSONMarshaller
Functions ¶
func InterfaceToConfig ¶
func InterfaceToFrontMatter ¶
Types ¶
type LowerCaseCamelJSONMarshaller ¶
type LowerCaseCamelJSONMarshaller struct { Value any }
Code adapted from https://gist.github.com/piersy/b9934790a8892db1a603820c0c23e4a7
func (LowerCaseCamelJSONMarshaller) MarshalJSON ¶
func (c LowerCaseCamelJSONMarshaller) MarshalJSON() ([]byte, error)
Source Files ¶
frontmatter.go lowercase_camel_json.go
Directories ¶
Path | Synopsis |
---|---|
parser/metadecoders | |
parser/pageparser | Package pageparser provides a parser for Hugo content files (Markdown, HTML etc.) in Hugo. |
- Version
- v0.97.3
- Published
- Apr 18, 2022
- Platform
- darwin/amd64
- Imports
- 11 packages
- Last checked
- 31 minutes ago –
Tools for package owners.