Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliasPublisher ¶
type AliasPublisher interface {
Translator
Publish(path string, permalink string, page interface{}) error
}
type Filesystem ¶
type Filesystem struct {
PublishDir string
}
type HTMLRedirectAlias ¶
type HTMLRedirectAlias struct {
PublishDir string
Templates *template.Template
AllowRoot bool // for the language redirects
}
type InMemoryTarget ¶
type OptionalTranslator ¶
TODO(bep) consider other ways to solve this.
type Output ¶
type Output interface {
Publisher
Translator
}
type PagePub ¶
type PagePublisher ¶
type PagePublisher interface {
Translator
Publish(string, template.HTML) error
}
type Translator ¶
Click to show internal directories.
Click to hide internal directories.