site

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 24, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

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

func MarshalFeed(cause error) error

MarshalFeed wraps a failure to marshal an Atom feed.

Parameters:

  • cause: the underlying marshal error

Returns:

  • error: "cannot marshal feed: <cause>"

func NoConfig

func NoConfig(dir string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL