render

package
v0.9.0-RC2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(c *fiber.Ctx) error

Render renders the template that corresponds to request path

func Setup

func Setup(conf *cfg.Config) *html.Engine

Types

type HTMLPage added in v0.9.0

type HTMLPage struct {
	Name string
	Data []byte
}

func MarkdownToHTML added in v0.9.0

func MarkdownToHTML(staticDir string) (htmlPages []HTMLPage, err error)

Jump to

Keyboard shortcuts

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