Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BuildConfig ¶
type BuildConfig struct {
CopyStatic CopyStaticConfig `yaml:"copy_static"`
}
type CopyStaticConfig ¶
type CopyStaticConfig struct {
Exclude []string `yaml:"exclude"`
}
type FeedConfig ¶
type MinifyConfig ¶
type OptionsHTML ¶
type SiteConfig ¶
type SiteConfig struct {
Title string `yaml:"title"`
BaseURL string `yaml:"base_url"`
Language string `yaml:"language"`
Description string `yaml:"description"`
Feed FeedConfig `yaml:"feed"`
Minify MinifyConfig `yaml:"minify"`
Syntax SyntaxConfig `yaml:"syntax"`
Build BuildConfig `yaml:"build"`
}
func Load ¶
func Load(path string) (SiteConfig, error)
type SyntaxConfig ¶
type SyntaxConfig struct {
Theme string `yaml:"theme"`
Options OptionsHTML `yaml:"options"`
}
Click to show internal directories.
Click to hide internal directories.