html

package
v0.0.0-...-ab7f595 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2023 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pongo2Renderer

type Pongo2Renderer struct {
	Templates   *pongo2.TemplateSet
	TemplateDir string
}

func NewPongo2Renderer

func NewPongo2Renderer(directory string) *Pongo2Renderer

func (*Pongo2Renderer) Instance

func (r *Pongo2Renderer) Instance(name string, ctx *alanis.H, data interface{}) (alanis.Render, error)

func (*Pongo2Renderer) SetDebug

func (r *Pongo2Renderer) SetDebug(debug bool)

Jump to

Keyboard shortcuts

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