Documentation
¶
Overview ¶
Package site provides error constructors for static site generation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalFeed ¶
MarshalFeed wraps a failure to marshal an Atom feed.
Parameters:
- cause: the underlying marshal error
Returns:
- error: "cannot marshal feed: <cause>"
func NoConfig ¶
NoConfig returns an error when the zensical config file is missing.
Parameters:
- dir: directory where the config was expected.
Returns:
- error: "no zensical.toml found in <dir>"
func ZensicalNotFound ¶
func ZensicalNotFound() error
ZensicalNotFound returns an error when zensical is not installed.
Returns:
- error: includes installation instructions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.