Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Builder ¶
type Builder struct {
// contains filtered or unexported fields
}
Builder is a struct for building a static site.
func (Builder) GetDistPath ¶ added in v0.7.0
GetDistPath returns the dist directory path.
func (*Builder) ReloadConfig ¶ added in v0.7.0
ReloadConfig reloads the config file.
type YamlFrontMatter ¶ added in v0.7.0
type YamlFrontMatter struct { Author string `yaml:"author"` Title string `yaml:"title"` PubDatetime string `yaml:"pubDatetime"` PostSlug string `yaml:"postSlug"` Description string `yaml:"description"` Tags []string `yaml:"tags"` Emoji string `yaml:"emoji"` }
func (*YamlFrontMatter) AsMap ¶ added in v0.7.0
func (y *YamlFrontMatter) AsMap() map[string]interface{}
Click to show internal directories.
Click to hide internal directories.