Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Version string `yaml:"msg_version"` Root string `yaml:"root"` Templates []string `yaml:"templates"` Pages []string `yaml:"pages"` Ignore []string `yaml:"ignore"` FileRewrites []*Rewrite `yaml:"file_rewrites"` URLRewrites []*Rewrite `yaml:"url_rewrites"` Defaults Metadata `yaml:"defaults"` Metadata Metadata `yaml:"metadata"` // contains filtered or unexported fields }
Config represents a parsed config file
type Metadata ¶
type Metadata map[string]interface{}
Metadata represents the YAML "Front Matter" of a page
type Page ¶
type Page struct { Metadata Metadata Rendered string Source string SourcePath string OutputPath string Path string }
Page represents a single page
Click to show internal directories.
Click to hide internal directories.