bundle

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 10, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundle

type Bundle struct {
	Main   string // content of main.html
	Cover  string // content of cover.html, empty if absent
	Config []byte // content of default.yml, nil if absent
}

Bundle holds the raw template and config content for a document type.

func Load

func Load(nameOrPath string) (*Bundle, error)

Load resolves a bundle by name (built-in) or directory path (local).

Jump to

Keyboard shortcuts

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