Versions in this module Expand all Collapse all v0 v0.18.1 Dec 29, 2016 Changes in this version + type AliasNode struct + Page interface{} + Permalink string + type AliasPublisher interface + Publish func(path string, permalink string, page interface{}) error + type Filesystem struct + PublishDir string + func (fs *Filesystem) Publish(path string, r io.Reader) (err error) + func (fs *Filesystem) Translate(src string) (dest string, err error) + type HTMLRedirectAlias struct + AllowRoot bool + PublishDir string + Templates *template.Template + func (h *HTMLRedirectAlias) Publish(path string, permalink string, page interface{}) (err error) + func (h *HTMLRedirectAlias) Translate(alias string) (aliasPath string, err error) + type InMemoryTarget struct + Files map[string][]byte + func (t *InMemoryTarget) Publish(label string, reader io.Reader) (err error) + func (t *InMemoryTarget) Translate(label string) (dest string, err error) + type OptionalTranslator interface + TranslateRelative func(string) (string, error) + type Output interface + type PagePub struct + DefaultExtension string + LangDir string + PublishDir string + UglyURLs bool + func (pp *PagePub) Publish(path string, r io.Reader) (err error) + func (pp *PagePub) Translate(src string) (dest string, err error) + func (pp *PagePub) TranslateRelative(src string) (dest string, err error) + type PagePublisher interface + Publish func(string, template.HTML) error + type Publisher interface + Publish func(string, io.Reader) error + type Translator interface + Translate func(string) (string, error)