templater

package
v0.0.0-...-73324db Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildSite

func BuildSite() error

BuildSite is for building the site. This includes templating HTML with markdown and putting images in the expected locations in the output

Types

type Page

type Page struct {
	Title         string
	Content       []byte
	Template      []byte
	Params        map[string]string
	BuildPathRoot string
}

Page holds data for templating a page

func (*Page) String

func (p *Page) String() string

Jump to

Keyboard shortcuts

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