html

package
v0.14.5 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: BSL-1.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNotFloat = errors.New("arguments must be rational numbers")
	ErrNotInt   = errors.New("arguments must allow conversion into an integer (float/decimal numbers are truncated i.e. 3.9 => 3)")
)
View Source
var TplFuncs = template.FuncMap{
	"add":   add,
	"sub":   sub,
	"mul":   mul,
	"div":   div,
	"inc":   inc,
	"dec":   dec,
	"float": convFloat,
	"int":   convInt,
}

Functions

func RenderBook

func RenderBook(book *pub.Book, inputDir, outputDir, layoutsDir string, minify bool) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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