Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
BaseURL string `toml:"base_url"`
Title string `toml:"title"`
Description string `toml:"description"`
DefaultLanguage string `toml:"default_language"`
Author string `toml:"author"`
CompileSass bool `toml:"compile_sass"`
GenerateFeed bool `toml:"generate_feed"`
FeedLimit int `toml:"feed_limit"`
FeedsForContent []ContentFeed `toml:"feeds_for_content"`
Taxonomies []TaxonomyConfig `toml:"taxonomies"`
Markdown MarkdownConfig `toml:"markdown"`
ContentDirectory string `toml:"content_directory"`
OutputDirectory string `toml:"output_directory"`
IncludeDrafts bool `toml:"include_drafts"`
Sitemap bool `toml:"sitemap"`
PreBuildCmd string `toml:"prebuild"`
PostBuildCmd string `toml:"postbuild"`
ServerConfig ServerConfig `toml:"server"`
DevMode bool
// contains filtered or unexported fields
}
func (*Config) ContentDirectoryAbsolute ¶
func (*Config) OutputDirectoryAbsolute ¶
func (*Config) RootDirectory ¶
type ContentFeed ¶
type ContentFeed struct {
Name string `toml:"name"`
Title string `toml:"title"`
Include string `toml:"include"`
Exclude string `toml:"exclude"`
}
func (ContentFeed) Exclusions ¶
func (cf ContentFeed) Exclusions() []string
func (ContentFeed) IncludeAllInitially ¶
func (cf ContentFeed) IncludeAllInitially() bool
func (ContentFeed) Inclusions ¶
func (cf ContentFeed) Inclusions() []string
type MarkdownConfig ¶
type ServerConfig ¶
type TaxonomyConfig ¶
Click to show internal directories.
Click to hide internal directories.